I am looking for a way to compile CSS LESS files on the server side on demand during development. For example if the browser makes a request to /assets/css/foo.css I want the se
What we do is we have two modes : dev and production.
For dev, use the official less css js compiler, which compiles on the fly:
in your HTML
for prod, use the compiled styles by https://github.com/marceloverdijk/lesscss-maven-plugin