figwheel

general discussion about figwheel, specific discussions in #figwheel-main and #lein-figwheel
2018-12-12T21:16:59.005800Z

I'm having obscure trouble with Figwheel where the main namespace doesn't match the directory or top-level project name.

2018-12-12T21:18:13.007200Z

the project name is dcpu, but there's a handful of different namespaces; the CLJS one for the Re-frame app is ide.core. that's what my :main is set to, and I call ide.core.init() in index.html, and everything works properly on the first load.

2018-12-12T21:20:13.007800Z

but then if I edit a view, it tries to reload but I get an error ReferenceError: dcpu is not defined