Configuring the LESS File Watcher on Windows

I'm having a hard time configuring this. I have installed the File Watcher plugin from the repository and tried compiling a LESS file. It gave me an error because it did not include the LESS compiler with that download.

So I downloaded this compiler and extracted it:

I then went to the LESS File Watcher settings and inputted "C:\LESS\lessc.cmd" under the Program field. I then made some changes to a LESS file and got the following error:

lessc.wsf: no input files

Any ideas?

Comment actions Permalink

Figured it out.

Change the argument to: $FileName$ $FileNameWithoutExtension$.css -compress

Then uncheck "Create output file from stdout"

Comment actions Permalink

Thank you random stranger.


Please sign in to leave a comment.