File watchers settings for separate folders -scss and -css
I added magento project in webstorm, where i have folder with theme files - \skin\frontend\package_name\theme_name\. In \theme_name\ folder i have such structure:
\scss\
\bootstrap\
\all_bootstrap_files with .scss\
\core\
\all_core_files with .scss\
\layout\
\all_layout_files with .scss\
..... etc.
and i have css folder with same structure
\css\
\bootstrap\
\all_bootstrap_files with .css\
\core\
\all_core_files with .css\
\layout\
\all_layout_files with .css\
..... etc.
I need to configure file wather macros setting for my structure files. if i save header.scss in \layout\ scss folder i need to compile header.css in \layout\ css folder and etc.
Plz help me with correct settings.
Please sign in to leave a comment.
Please try the following settings:
Arguments: --no-cache --update $FileName$:$FileParentDir(scss)$/css/$FileDirPathFromParent(scss)$/$FileNameWithoutExtension$.css
Working dir: $FileDir$
Output paths to refresh: $FileParentDir(scss)$/css/$FileDirPathFromParent(scss)$/$FileNameWithoutExtension$.css
does it work?
yes, tnx so much