I'm having obscure trouble with Figwheel where the main namespace doesn't match the directory or top-level project name.
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.
but then if I edit a view, it tries to reload but I get an error ReferenceError: dcpu is not defined