I’m using Assetic with the compass filter to pass and compile .scss files. This part of the setup seems to work fine. However, my understanding was that in the app_dev environment, Symfony 2 would recompile all assets (including css) for each page load and not use the caching system that it employs for prod environment.
This seems not to be happening.
When I make a change to a .scss file it will only take effect if I use:
app/console cache:clear
I thought the whole point of the dev environment was to avoid having to do this each time?!
I’ve checked the permissions of the cache folders (to be safe I’ve set them so anybody can read and write). Does anybody have any suggestions?
I think I’ve found the answer here:
assetic compass filter, css not updating when changing imported file (google groups discussion)
It seems that if a change is made to an imported file without any changes to the parent file then the parent file will not be recompiled. The result being the change will not be seen until you force recompilation.
The poster on google groups suggested a possible fix (hack!) by editing the AsseticController. I haven’t tried it yet, but even if it works I’d rather not edit a vendor package.