figwheel

general discussion about figwheel, specific discussions in #figwheel-main and #lein-figwheel
kingmob 2019-08-09T22:12:42.052700Z

@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.