How add nodejs SCSS to file watcher in PhpStorm

Рубрики Общее

For anyone uses node-sass in Windows Env, here you go,

Program:

Windows

C:\Users\%username%\AppData\Roaming\npm\node-sass.cmd

Linux

/usr/local/bin/node-sass

Arguments (Windows):

$FileName$ $ProjectFileDir$\dist\$FileNameWithoutExtension$.css

Output paths for refresh(windows):

$ProjectFileDir$\dist\$FileNameWithoutExtension$.css