Reputation: 31
I have different SCSS files in my SCSS directory, then I want to compile them all in CSS directory but in different files, like grid.scss to grid.css,etc.
Here is my Command:
"watch:scss": "node-sass assets/scss assets/css/ -w",
but It's not working.
Upvotes: 3
Views: 951
Reputation: 1383
If the input is a directory the --output flag must also be supplied. Edited command below should get your work done
"watch:scss": "node-sass assets/scss --output=assets/css/",
Upvotes: 1