At the moment we compile the root sass file on delivery when asking the server for the /main.css resource. We also watch the src/main.scss file and trigger a livereload message for the /main.css resource on change.
A cleaner approach would be to have sass watching the src/main.scss file and then let the livereload server directly watch the output i.e. .tmp/main.css.
This way we can also detect changes in sass modules the src/main.scss depends on.
At the moment we compile the root sass file on delivery when asking the server for the
/main.css
resource. We also watch thesrc/main.scss
file and trigger a livereload message for the/main.css
resource on change.A cleaner approach would be to have sass watching the
src/main.scss
file and then let the livereload server directly watch the output i.e..tmp/main.css
. This way we can also detect changes in sass modules thesrc/main.scss
depends on.