PETER HOFFMANN
Software Engineer
ph@peter-hoffmann.com
twitter.com/peterhoffmann
github.com/hoffmann
[more about me]
Software Engineer
ph@peter-hoffmann.com
twitter.com/peterhoffmann
github.com/hoffmann
[more about me]
Flask LessCSS
flask-lesscss is a small Flask extension that will automatically re-render your .less files into CSS before each request if they’ve changed. [sjl.bitbucket.org/flask-lesscss/]
It's as easy as wrapping your flask app:
from flaskext.lesscss import lesscss lesscss(app)
This will watch your app’s static media directory and automatically render .less files into .css files in the same (sub)directory.