submitted an issue https://github.com/bhauman/figwheel-repl/issues/7
I'm having problems getting figwheel to autoload my code. the re-rendering happens (I set up a figwheel hook, which works), but the new component version is not active, the old one is still references and used. any suggestions how I might get to the bottom of this?
roughly the setup is following: the root component is app
, is uses another component foo
. when inside the figwheel dev repl, I change component foo
, figwheel loads it automatically, and it is available (if I have a look at it inside the repl). however, app
still references the old foo
. strangely, figwheel says it loads the namespace where app
is, but somehow app
has a reference to the old foo
(i'm using reagent)
when figwheel says in the browser log: [Figwheel] loaded (foons barns)
, does this mean that the entire namespace foons
and barns
were compiled and hotloaded?
nevermind, I found the problem, there was a defonce
in between the referencing from app
to foo
😋