sass watch recursive

Сообщение об ошибке

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls в функции menu_set_active_trail() (строка 2405 в файле /var/www/notes7/includes/

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 


Добавить комментарий