Fork me on GitHub
#lein-figwheel
<
2018-03-05
>
Naylyn10:03:02

Thanks @souenzzo. It's not the answer I was hoping for but it's certainly not the end of the world.

camachom20:03:36

hello! I'm having trouble getting figwheel to reload when replacing the whole document using reagent like this (r/render [(fn [] @current-page)] js/document)). It still compiles, but I have to refresh manually. Any ideas?

souenzzo20:03:51

please send you figwheel settings (inside project.clj, :cljsbuild or something like)

camachom21:03:35

@souenzzo here it is. i think its pretty standard. It works great when i just hook into a particular element.

souenzzo21:03:21

:websocket-host "" << you r developing with domains? It's usually localhost

bhauman21:03:47

@mcama200 don't destroy the document

bhauman21:03:02

use a node inside the document

camachom21:03:49

its an attempt at isomorphism. I have a top level component that will hopefully handle the html/header tags and loading scripts across a couple of repos. I wanted to be able to have access to it on the client as well.

bhauman22:03:11

yeah, that seems pretty shakey, when you require app.js the first thing goog closure does is write a bunch of script tags to include your dependencies

camachom22:03:42

i see. thanks for your help!

bhauman23:03:42

@mcama200 glad I could 🙂