paulfairless / grails-lesscss-resources

Grails plugin for using the LESS CSS framework in conjunction with the grails-resource plugin family
Other
35 stars 27 forks source link

LESS files do not get converted to CSS in debug mode #34

Closed behrangsa closed 11 years ago

behrangsa commented 12 years ago

I sometimes want to use debugMode=true to see the output of LESS CSS files prior to being compressed, but at the moment when I add debugMode=true to the URL, I see the LESS files sent back verbatim to the browser.

paulfairless commented 11 years ago

when debugMode=true no resource processors run, so it does not have the chance to compile the .less files.

Ideally the .less files could be compiled client side by including the less js compiler http://lesscss.org/. However this does not work due the the resources framework not allowing me to set rel="stylesheet/less" in debug mode