lein-figwheel icon indicating copy to clipboard operation
lein-figwheel copied to clipboard

Uncaught ReferenceError: on_js_reload is not defined

Open MMaicki opened this issue 4 years ago • 0 comments

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

MMaicki avatar Aug 31 '20 07:08 MMaicki