boot-cljs icon indicating copy to clipboard operation
boot-cljs copied to clipboard

Implement cljs.closure/watch logic for rebuilds

Open Deraen opened this issue 7 years ago • 0 comments

ClojureScript watch no longer (since Feb 2015, after Boot-cljs was originally written) calls build each time any file is changed. Only if .cljs, .cljc, .clj or .js file is changed, compiler is called.

https://github.com/clojure/clojurescript/blob/master/src/main/clojure/cljs/closure.clj#L3096-L3100 https://github.com/clojure/clojurescript/commit/0db90e6898434c1719fc2bfc6ab9cf741dde4cf2

Boot-cljs should copy this behavior, to optimize cases where only .css, .less etc. file is changed.

Deraen avatar Jul 11 '18 09:07 Deraen