intellij idea - LESSC to compile to a custom path using environment variable -


bottom line i need lessc compile main.less file $catalina_ec_tmp/main.css


i'm working on project, need generate multiple output css files originating same source (less file) using lessc.

so jet brain's (webstorm or intellij idea) file watcher, don't of options save output files custom path using environment variable.

the reason why use environment variable because of outputted files in temporary path (it changes whenever deploy ant)


that said ...

this environment variable:

$catalina_ec_tmp = '/foo/bar/' 

and it's changing in next deployment, won't /foo/bar/ anymore.

and command line that's being executed ide compile less files

/usr/local/bin/lessc --no-color main.less 

i need lessc compile main.less file $catalina_ec_tmp/main.css

so resulting file in case /foo/bar/main.css or wherever $catalina_ec_tmp value is.

i hope there's solution this, anyway if doesn't exist think i'll use fswatcher copy generated css files destinations whenever compile.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -