cloudhead/node-static — pull request #70 by Swizec (2012-10-09 00:19:17+00:00)
Title: Transparently compile less

Hey,

I added a small feature for people using less.

When a .css file is requested that doesn't exist, but a .less file of the same name exists, this file is compiled into css and served instead.

Compilation only happens when the less file changes and the library's normal caching functions are used for the compiled css file.

I've also written the tests and made sure no old ones fail.

Cheers,
~Swizec