I'm trying to find a way to compile my multiple scss files into one css file.
scripts are in package.json using node-sass
The best I've found for the moment is : sass --watch .assets/css/scss/:assets/css
The problem is it creates one css file for each scss file plus a css map file.
I was previously working without watch node-sass --include-path scss .assets/css/scss/style.scss assets/css/style.css
but had to run the command at each save.
Using sass --watch .assets/css/scss/style.scss:assets/css/style.css
with style.scss like this :
@import 'test1.scss';
@import 'test2.scss'
is not working but console say :
Compiled style.scss to style.css. Compiled test1.scss to test1.css
Am i missing something?
EDIT : for some reasons, running only sass without node on a subsystem linux is causing some blue screen. Using node-sass --watch ./assets/css/scss/style.scss:assets/css/style.css
or node-sass --watch ./assets/css/scss:assets/css
return a npm error : code ELIFECYCLE errno 1