Yet another connect handler implementation for less
This version supports passing multiple directories, which are all searched for less files. The less files are compiled when requested the first time, unless debugging is enabled.
npm install connect-less-jolira
Search for .less files in
var connect = require("connect"),less = require("connect-less-jolira"),app = connect.createServer();app.use(less(["/var/www", "/home/fido/www"]));
Any file with extenstion
.less will be compiled on-demand and returned as ``text/css`. E.g.
Logs can be turned on using: