Why is sass --update not going fast when run from php exec?
I'm using sass in a php-based application and am trying to use the --update option so that the sass code is not recompiled every time the browser requests the corresponding css file. When I run the sass command on the command-line, it works as expected (longer compile time after a sass file has been changed, short compile time if not). When I run it from php using exec, it seems to take long enough that it must be recompiling every time. Any ideas why and how I can fix it?
Looks like it was a problem with the default caching location when running as the web server. Specifying a cache directory using the --cache-location option seemed to fix the problem and make it run much faster.