Fork me on GitHub
#lein-figwheel
<
2016-02-08
>
bhauman00:02:46

Recompile dependents true is the default of the cljs compiler. But turning it off results in a big speed up.

bhauman00:02:02

In some cases

futuro00:02:30

yeah; it seems like that has some large potential pit-falls (dependents using old code, etc)

futuro00:02:48

so i'm really curious if there's a different way I could structure my code to avoid this issue

futuro00:02:57

or if others have run into this and what they did in response

futuro00:02:38

unfortunately, I have to leave

futuro00:02:50

thank you for the help @bhauman, it's got me headed in the right direction

futuro18:02:18

As a minor note on this, the problem is that lein-cljsbuild isn't doing incremental builds

futuro18:02:24

in case anyone else comes in with this problem

futuro18:02:29

Doing a standalone compile with incremental builds I go from 17 seconds down to 9 seconds for a recompile, and with :cache-analysis true I get down to ~3 seconds

futuro19:02:33

in fact, if i change the standalone script from cljs.build.api/build to cljs.build.api/watch, recompile times drop to sub-second times