This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi! Maybe I have misunderstood something, but for some reason when I'm using Web Workbench (version 3.2.972.22809) I don't have possibility to tick Compile on a file that is in the sass folder. When I move/copy the file to the Content folder Compile is possible. If I have understood correctly in order to get import "compass" working I need to be in the sass folder that is defined in the config.rb file. After moving file to Content folder: I have completely new ASP.NET MVC 4 project and I right clicked and enabled the Compass support. It seems that sprites are working correctly when I created new folder images and sub-folder icons. Both image and scss file were created. |
|
|
Yes, when you have converted the solution to a Compass project any files which live in the Compass managed folder (sass by default) have the compile option excluded as this process is managed by Compass based on your config.rb settings. All .scss files which are not prefixed with an underscore in that folder will be compiled.
|
|
|
Thank you for the reply. The problem seems to be that my .scss files (without underscore) are not automatically compiled and therefore I thought I have to manually compile. When I run "compass compile" on the Command Prompt everything works smoothly: CSS, sprites etc. are generated. The interesting part is this: files are compiled when I open Web Workbench Settings window and close it. :) Is the file watcher some how not working? In the Options I have correct settings, so compilations are enabled. As a temp workaround I have enabled "Trigger compile on build". I have attached my test project just in case, but it might be some kind environmental issue. Any ideas what could be wrong? UPDATE On my other project file watcher works okay. I was wondering if the path to the project is somehow wrong: too long, weird characters etc. I moved the project to the root of C drive and it still doesn't work. Thanks, -Tx3 |
|
|
Thanks for the repro project, I was able to track down what was going on here. Somewhere along the line that file has been unchecked for compilation which was affecting if compilation was being triggered when saving that specific file. Ive added a fix which will resolve this and this is now available in the nightly builds and will also be included in the next gallery update.
|
|