figwheel

general discussion about figwheel, specific discussions in #figwheel-main and #lein-figwheel
joshkh 2018-03-08T08:48:48.000038Z

is support for npm modules compatible with figwheel's hot reloading? i've successfully included a node module in my project and everything works when figwheel loads for the first time, but when it rereloads after a change i get the following error in the browser console:

async.cljs?rel=1520494260039:24 Uncaught TypeError: goog.net.jsloader.load is not a function
    at figwheel$client$file_reloading$reload_file_in_html_env (file_reloading.cljs?rel=1520494247518:208)
    at figwheel$client$file_reloading$reload_file (file_reloading.cljs?rel=1520494247518:250)
    at figwheel$client$file_reloading$blocking_load (file_reloading.cljs?rel=1520494247518:269)
    at file_reloading.cljs?rel=1520494247518:279
    at file_reloading.cljs?rel=1520494247518:277
    at figwheel$client$file_reloading$state_machine__24178__auto____1 (file_reloading.cljs?rel=1520494247518:277)
    at figwheel$client$file_reloading$state_machine__24178__auto__ (file_reloading.cljs?rel=1520494247518:277)
    at cljs$core$async$impl$ioc_helpers$run_state_machine (ioc_helpers.cljs?rel=1520494214702:35)
    at cljs$core$async$impl$ioc_helpers$run_state_machine_wrapped (ioc_helpers.cljs?rel=1520494214702:39)
    at ioc_helpers.cljs?rel=1520494214702:48
    at channels.cljs?rel=1520494211471:78
    at cljs$core$async$impl$dispatch$process_messages (dispatch.cljs?rel=1520494211137:19)
    at <anonymous>

joshkh 2018-03-08T09:01:24.000505Z

whoops, problem solved by upgrading from 0.5.11 to 0.5.15 🙂

2018-03-08T16:24:25.000692Z

Is there a reason why 0.5.16-SNAPSHOT is not released yet? Can't get the nodejs support working due to https://github.com/bhauman/lein-figwheel/issues/662

bhauman 2018-03-08T20:44:01.000624Z

@schnipseljagd I'll release it

bhauman 2018-03-08T21:33:21.000020Z

@schnipseljagd released

2018-03-08T22:22:06.000116Z

@bhauman Great thx. The node.js repl works like a charm now!