Ceaseless
Ceaseless.js enhances the Less.js compiler.
It provides command line option --watch
, like the one in the SASS.
Why
Less.js isn't easy to use. To compile some .less
file, you have to do this:
$ lessc foo.less > foo.css
But I'd prefer:
$ lessc foo.less
Besides, Less.js does not support fancy features like live compiling,
Which I enjoyed alot whilst using the sass gem from the Ruby land.
So here's this npm module.
Install
Just $ npm install -g ceaseless
, you are good to go.
Usage
To compile some less files
$ ceaseless assets/css/foo.less
$ ceaseless assets/css/
Go live
$ ceaseless --watch assets/css/