bhauman / lein-figwheel

Figwheel builds your ClojureScript code and hot loads it into the browser as you are coding!
Eclipse Public License 1.0
2.88k stars 209 forks source link

auto-reload not working remotely #559

Closed mgrabmair closed 7 years ago

mgrabmair commented 7 years ago

This one is probably obvious. I have a figwheel project which works perfectly on my machine but the auto-reload does not work when I migrate the code to a remote machine via a github repo. If I open it in chrome and make edits to watched cljs files via ssh it will not refresh. What am I doing wrong?

Thanks.

mgrabmair commented 7 years ago

Appending: It appears that figwheel_server.log contains all change notifications. Does this mean in is a browser setting problem?

mgrabmair commented 7 years ago

Fixed it. Added :figwheel {:websocket-host :server-hostname} to cljs build config.