madebysource / pho-devstack

Automated workflow for front-end developers in one tasty bowl of code.
http://pho.madebysource.com
960 stars 59 forks source link

Watchify for stylesheets #5

Open PavelGavlik opened 10 years ago

PavelGavlik commented 10 years ago

LESS compilation currently recompiles everything every time. This should not happen, only changed file should be recompiled. Ideally, coder workflow should stay the same (one main.less that includes other files)

PavelGavlik commented 10 years ago

Resources: https://github.com/less/less.js/blob/master/lib/less/browser.js https://github.com/less/less.js/issues/1530 http://jamesrdf.blogspot.cz/2012/06/running-lessjs-on-jvm-server.html http://adunkman.github.io/connect-assets/

PavelGavlik commented 10 years ago

Maybe https://github.com/jgable/gulp-cache could be used.