How do I configure a Less file watcher's output directory?

0

1

How do I configure a less file watcher to put the output css file into the same directory as the less file, rather than in a 'css' folder in the parent directory.

I've read the help here: https://www.jetbrains.com/help/webstorm/2016.3/using-file-watchers.html, but I cannot workout how to configure this?

user248162

Posted 2016-12-06T19:47:42.803

Reputation:

Answers

0

Please try the following:

Arguments: --no-color $FileName$ $FileNameWithoutExtension$.css
Working directory: $FileDir$
Output paths to refresh: $FileNameWithoutExtension$.css

.css file will be created in the same directory as .less file

lena

Posted 2016-12-06T19:47:42.803

Reputation: 1 026