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>
whoops, problem solved by upgrading from 0.5.11 to 0.5.15 🙂
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
@schnipseljagd I'll release it
@schnipseljagd released
@bhauman Great thx. The node.js repl works like a charm now!