Опубликовано 22/10/2019
The problem comes when you want your sass to observe imported files.
For instance in your main scss file you have:
// page styles
@import 'page';
// content styles
@import 'content';
so the task is to force sass to observe changes in imported files
Here how i managed it to work properly:
npm config set optional false
sudo apt-get install nodejs-legacy
sudo npm install node-sass -g
[or sudo npm install node-sass -g --unsafe-perm]
node-sass --watch --recursive scss --output css
Добавить комментарий