Fork me on GitHub
#figwheel
<
2019-08-09
>
kingmob22:08:42

@bhauman, any thoughts on hot-reloading webworker code? I know it’s a build target, but unless I’m mistaken, it’s not possible to hot-reload a worker. I’m guessing it would involve injecting something like the figwheel.repl.preload code into the worker build itself. In lieu of that, is there a way to chain background builds or extra mains? I.e., if the main script reloads and recreates a worker, it would be nice to delay the main script’s reload until the worker’s recompiled.