less-before-listen
v0.0.2
Published
A tool for precompiling your less files before firing up your node server.
Downloads
2
Readme
Less Before Listen
Use this to compile your less files when starting up your node server. Not much to explain here.
Usage
var less = require('less-before-listen')();
// Do some other stuff...
less.parse('path/to/styles.less', function(){
server.listen(3000);
});
You styles.less file will be copied and compiled into a styles.css file in the same directory. Any @import statements in your less file will be honored so don't be shy!