Reputation: 6368
As the title stated, I want to node-sass to watch/compile scss files to css without running the command over and over again.
Edit: Is there a grunt task that can run node-sass instead of ruby sass? Because what I've seen is grunt-contrib-sass/compass all use ruby.
Upvotes: 1
Views: 1187
Reputation: 10453
Just use the watch flag:
node-sass src/styles.scss dist/styles.css -w src
Upvotes: 5
Reputation: 227
There is no native watch task available with node-sass, but you can use grunt-contrib-watch and grunt-sass together to achieve the desired effect.
Upvotes: 1