lein-figwheel

wilkerlucio 2018-07-16T00:32:33.000031Z

hello, I'm trying ot use the :on-jsload feature of figwheel, but my hooks never seem to be called

wilkerlucio 2018-07-16T00:32:59.000055Z

I tried in a new lein new figwheel template, is there any way to debug that? tried creating very simple hook functions that just do a console.log

wilkerlucio 2018-07-16T00:33:06.000037Z

but the log is not coming

wilkerlucio 2018-07-16T00:35:27.000037Z

just figured it's an issue with cljs 1.10.339, reverting to 1.10.238 works

bhauman 2018-07-16T00:36:36.000007Z

weird

wilkerlucio 2018-07-16T00:53:00.000051Z

also, it seems to only work if the hook function is in the same namespace as the :main

wilkerlucio 2018-07-16T00:53:10.000025Z

I'm trying to use the hook from a library code, and it doesn't get called