Closed ghost closed 10 years ago
I agree that SCSS support is important, but I don't think a race condition is the best solution...
If you're working with python this is fast and request blocks until compile is complete so you wouldn't need to worry about race conditions: https://github.com/dahlia/libsass-python
This adds support for reloading the CSS when an .scss or .sass file is saved. There is a delay before reloading the CSS, to allow the CSS to compile.
The assumption is that Compass, or another compiler is running and will generate the necessary CSS file.
Currently the delay is at 1.5 seconds. This works for me, but it may need to be increased for larger projects / slower computers; it could be decreased for faster computers.