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.

enter image description here

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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -