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 210 forks source link

Uncaught ReferenceError: on_js_reload is not defined #747

Open MMaicki opened 3 years ago

MMaicki commented 3 years ago

I'm getting this error when fighweel is reloading my CLJS files. I have specified properly :on-jsload function in :cljsbuild :fighweel, :on-jsload "hel.core/on-js-reload", I even tried to match this function name with Error refernece. Files got reloaded but the function isn't fired up. Fighweel can't see this function no matter how I specify it.

connect.cljs?rel=1598547171878:9 Uncaught ReferenceError: on_js_reload is not defined at G__42754__delegate (connect.cljs?rel=1598547171878:9) at Function.cljs$lang$applyTo (connect.cljs?rel=1598547171878:9) at Function.cljs$core$IFn$_invoke$arity$2 (core.cljs:3947) at cljs$core$apply (core.cljs:3939) at file_reloading.cljs?rel=1598547169586:503