figwheel

general discussion about figwheel, specific discussions in #figwheel-main and #lein-figwheel
llsouder 2018-10-17T14:09:44.000100Z

lein figwheel updates my page perfectly, but when I ran a repl in spacemaces and did

(use 'figwheel-sidecar.repl-api)
(start-figwheel!)
(cljs-repl)
Emacs evals work great, but when I save I see the clojure icon appear in my browser but nothing updates unless I do a shft-refresh... Same behavior in incognito mode. What the heck I am doing wrong?

llsouder 2018-10-17T16:23:52.000100Z

.log has

[0mCompiling "resources/public/js/compiled/app.js" from ["src/cljs"]...[0m
[32mSuccessfully compiled "resources/public/js/compiled/app.js" in 1.526 seconds.[0m
notifying browser that file changed:  resources/public/js/compiled/out/cljs_deps.js
notifying browser that file changed:  out/track_work/views.js

llsouder 2018-10-17T16:24:13.000100Z

but no update with out a browser refresh?

2018-10-17T18:37:46.000100Z

Is there a way to make the browser reconnect the cljs-repl connection after it has failed or went stale for a long time, from the dev console? I couldn’t find information on this from googling

2018-10-17T18:38:50.000100Z

I have poked around the figwheel.client object in the console but it doesn’t seem to provide a method to reconnect

2018-10-17T18:41:25.000100Z

hmm, maybe it’s figwheel.client.ensure_cljs_user()

2018-10-17T23:58:12.000100Z

hello! Could anyone point me at / tell me how to connect to the cljs-repl from the clj rpel started by figwheel.main? I’m connecting to the clj repl using Cursive, but have no idea how to connect to the cljs-repl from there.