phpstorm - Using custom Environment Variables in JetBrains products for File watcher Arguments -
i trying use node-sass
file watcher in webstorm.
i created local variable named style
main stylesheet name inside add variable file watcher settings everywhere needed.
but if add $style$
in path error:
/users/grawl/sites/sitename/node_modules/node-sass/bin/node-sass app/styles/$style$.scss public/$style$.css error reading file "app/styles/$style$.scss" process finished exit code 1
ide don't interprets variable.
also tried use %style%
no luck.
please not blame me direct mapping filenames in file watcher without using built-in variables $filename$
or $filenamewithoutextension$
because webstorm 9 eap not support preprocessor's dependencies except of built-in preprocessors sass , jade.
this case not case use local variables.
for example want put variables public/
path (that can dest/
in other projects) , app/
(can source/
). , on.
so let's figure out feature.
Comments
Post a Comment