I have the following file structure:
--public_html/
- css/
- less/
- _mixins.less
- _variables.less
- _theme.less
- main.less
I am using PhpStorm with a File Watcher running LESSC from NPM.
My file watcher is as follows:
Program: /usr/local/bin/lessc
Arguments: --no-color $FileName$
Output paths to refresh: ../$FileNameWithoutExtention$.css
Files:
main.less:
@import "_variables.less";
@import "_mixins.less";
@import "_theme.less";
_theme.less
contains my stylsheet and _variables.less
and _mixins.less
are all pretty self explanatory.
When I modify and save main.less
The file main.css
is created in the css
folder as it should.
However, when I edit my _theme.less
file, LESSC creates a _theme.css
file, also.
How do I stop these extra files being created?
If you need any more info, please ask.