Friend designer of mine was compiling his LESS file manually and uploading it with Coda (Remote Site) spending lots of precious time. He asked me:
Is it possible to automatically detect file change on the Linux server and compile without delay at all?
I have made a script and I publish the details:
First, you need to install "npm" on the server by typing this into the console:
Paste the following into the file:
Save, exit, then execute:
You are all done. Next time you need to work with your LESS files, you will need to open terminal (Coda has a built-in), go to the folder of your file (using cd) and execute this:
It will output information about successful compilations or errors. Enjoy.