In fulcro inspect Chrome plugin, at the bottom I have this “Select Application to Inspect” and while developing I get 10 items in that dropdown, all the same application Root, sometimes with -0 or -1 suffix, but not always. What am I doing wrong? I’ve got the plugin, preload and the refresh function for the shadow-cljs build is:
(defn ^:export refresh []
(log/info "Hot code reload")
(register-charts!)
(app/force-root-render! SPA))you’re not doing anything wrong. The connection to the app code is a bit buggy and often/sometimes it doesn’t disconnect from the app when you hard reload it (leading to a new entry in the apps to debug). You can put more than one app on a page, so it’s trying to let you select them. Just right-click on the Inspect pane and reload frame.
I need to add something like a liveness check anytime it sees a new entry so it can remove the old ones