Fork me on GitHub
#figwheel-main
<
2019-01-12
>
grav08:01:03

I have problems getting hot reloading working with a :target nodejs project

grav08:01:29

The callbacks (ie ^:after-load) aren’t called, though Figwheel does notice changes to the file system, and recompiles. Btw, the first re-compile always occurs around 30 secs after the file change, but afterwards it occurs relatively quickly.

grav08:01:58

Oh … missed the ^:figwheel-hooks in the ns-declaration for some reason. Was that always needed? Would it maybe be possible to have it implicitly defined, based on ^:before... and ^:after...?

Vincent Cantin09:01:25

I guess it has to do with performance optimization, to hot-reload faster.

👍 5
pat22:01:29

calling api/start on my cfg trips a missing-index error presumably during add-default-system-app-handler looking at [:repl-env-options :ring-stack-options]

pat22:01:23

since start* calls default-compile directly, its unclear to me what should be in those keys?

pat22:01:07

^nvm needed helper-resources on my path