LESS compilation in my fresh Play 2 install is genuinely slow. Even after placing an '_' on files that do not need direct compilation, a page refresh after a LESS edit takes ~8 seconds to complete. This is compared to a local compile using Codekit which takes less than a second.
Any suggestions on speeding up this process? Is it worth filing a bug against Play to have this looked at?
Here are details on my file sizes: My LESS setup is very simple. _reset.less (.5k) _desktop.less (13k), _tablet.less (10k), _mobile.less (8k), _sprites.less (25k) files. An all.less (.3k) file that puts it all together. That's it. The resulting css file is 53k.
sass
command. Either that, or I'm considering writing my own plugin that useslessc
(assuming I can't figure out how to do that via whatever configuration parameter James Ward mentioned... time to crawl the source, I suppose). In any case, there's an experimental setting that may help you. See the bottom of playframework.org/documentation/2.0.1/Assets, where it talks about theincrementalAssetsCompilation
setting. – Vaulted