less-js-wampile v1.1.3
##Intro less-js-wampile is dead simple to use, but also comes with LESS 3.0.0 support, JS compilation and Function compilation pre configured by default.
Pass the two parameters. First parameter is the source folder to watch for changes and second is the output folder in which the css files will be compiled
less-js-wampile app/client app/clientThis is pre configured with JS an function support.
Prerequisites
The commands below may need to be prefixed with
sudodepending upon your system
Install LESS and make sure the lessc binary is accessible to the script.
Installing LESS with the -g(global) flag will make the binary accessible to your system.
npm
npm install -g less@3.0.0Installation
The commands below may need to be prefixed with
sudodepending upon your system
Install the less-js-wampile command globally.
npm
npm install -g less-js-wampileUsage
You need to pass in the 2 parameters - <source_dir> and <destination_dir> . First parameter is the source folder to watch for changes and second is the output folder in which the css files will be compiled