You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the example in the documentation "Live Reload with Preprocessors", it does work but you must actually save the file twice to trigger a css "soft" reload. I think this is because Grunt can only run one task at time? If you save once, it runs the sass precompiler and quits. Then a subsequent save triggers the livereload since there aren't any changes to the sass stack. The only difference between my gruntfile.js and the example code references above is I have a scss file specified in src (in the sass directive). I have a single file: main.scss that loads all of my other scss partials via @import (pretty standard, right?). I tried using an asterisk but it totally blew up my stylesheets. It's strange the example would use *.sass as a source and a single index.css file as the dest. How is the preprocessor supposed to figure that out? I'm not sure if the two issues are related.
The text was updated successfully, but these errors were encountered:
Following the example in the documentation "Live Reload with Preprocessors", it does work but you must actually save the file twice to trigger a css "soft" reload. I think this is because Grunt can only run one task at time? If you save once, it runs the sass precompiler and quits. Then a subsequent save triggers the livereload since there aren't any changes to the sass stack. The only difference between my gruntfile.js and the example code references above is I have a scss file specified in src (in the sass directive). I have a single file: main.scss that loads all of my other scss partials via @import (pretty standard, right?). I tried using an asterisk but it totally blew up my stylesheets. It's strange the example would use *.sass as a source and a single index.css file as the dest. How is the preprocessor supposed to figure that out? I'm not sure if the two issues are related.
The text was updated successfully, but these errors were encountered: