Ok, so I found this error:
Notice: Use of undefined constant LOGGED_IN_COOKIE - assumed 'LOGGED_IN_COOKIE' in /var/www/wp-content/plugins/wp-scss/wp-scss.php on line 212
The plugin should check if LOGGED_IN_COOKIE is defined first, I presume.
I’ve patched that, but still not getting regenerated CSS.
I’ve found the problem. It doesn’t think the SCSS files have been updated since the CSS was last generated, but this is incorrect.
The last SCSS file was modified: 2015-08-10 14:10:10
The CSS file was modified: 2015-08-09 22:25:45
Do you have any idea why this might be?
Hi Will,
Did you ever figure out a way around this? We’ve been having the same problem for a few months on many sites but nothing we do seems to actually regenerate the CSS.
Hi Matt,
No, I didn’t. In the end I scrapped using this plugin. I now use CodeKit on my development machine to generate the CSS locally, before deployment.
I’m sure it isn’t the most correct way (it should be done as part of the deployment process itself) but it works for me!
I’m also seeing this issue with WordPress v4.4.2.
SASS can be compiled (and polled for changes) with Compass by simply dropping a config.rb file (can provide example if needed) in the theme and running:
gem update --system
gem install compass
compass watch