Less middleware for Koa
$ npm install koa-less
var less = ;var serve = ;var koa = ;var app = ;app;app;app;
Example of use:
Make sure you're declaring less-middleware before your static middleware, if you're using the same directory, e.g. (with koa-static):
var lessMiddleware = ;var app = ;app;app;
If you are hosting your app on IIS you will have to modify your
web.config file in order to allow NodeJS to serve your CSS static files. IIS will cache your CSS files, bypassing NodeJS static file serving, which in turn does not allow the middleware to recompile your LESS files.