Fork me on GitHub
#lein-figwheel
<
2016-01-05
>
peeja16:01:45

Okay, this is a stumper. I'm trying to upgrade our app from [org.clojure/clojurescript "1.7.28"] to "1.7.170", and from [lein-figwheel "0.4.0"] to "0.5.0-2". If I upgrade either dependency, everything works as expected. If I upgrade both of them, changes to my files take ~30 seconds to appear in the browser.

peeja16:01:04

That's about the time it takes to compile the entire app, so my theory is that it's doing a complete recompile

peeja16:01:25

But I can't for the life of me imagine why it only does it when I've upgraded both dependencies.

peeja16:01:49

Any chance that rings a bell for someone who knows figwheel's internals better?

decoursin16:01:39

I'm trying to hookup Cider and Figwheel. I'm following these directions [0]. I think it worked for me once but no longer. I jack into Clojure, then require fighwheel-sidecar, then (start-figwheel!) but if screws up right here. [0] https://github.com/bhauman/lein-figwheel/wiki/Using-the-Figwheel-REPL-within-NRepl

decoursin16:01:04

It just continues to print stuff out to my repl, almost like an endless loop, but I don't know for sure if it's an endless loop. It goes and goes until my emacs because unusable probably because it's using too much memory or something.

decoursin16:01:36

What's weird is that it everything works fine if I do: lein repl instead of cider-jack-in.

bhauman16:01:12

@peeja: recompile-dependents false?

decoursin16:01:50

Thank you! I'll try that one moment

bhauman16:01:23

@decoursin: that wasn't for you :)

peeja16:01:46

Oh, that might do it! Checking now…

peeja16:01:00

Did figwheel not properly support that back in 0.4.0?

bhauman16:01:29

@decoursin: hmmm try (do (start-figwheel!) nil)

peeja16:01:42

@bhauman: That was it! Thanks.

bhauman16:01:15

@peeja: yeah I removed the default so that figwheel has the same defaults as the compiler and cljsbuild. Everything is more predictable that way

decoursin16:01:46

@bhauman: That works! Thank you so much. Any idea why that's happening?

bhauman16:01:20

@decoursin: For some reason my printing override for the system map isn't getting picked up. Also you should set this up https://github.com/clojure-emacs/cider#limiting-printed-output-in-the-repl

decoursin16:01:09

@bhauman: done and thank you.