figwheel-main

figwheel-main http://figwheel.org
2020-07-06T11:47:46.414500Z

Not sure if anyone else has been experiencing this, but figwheel-main reload’s have gotten a lot slower using webpack bundle… What used to be edit, instantaneous reload now takes a good few seconds to trigger…

bhauman 2020-07-06T13:46:22.415100Z

@folcon are you bundling on every compile?

2020-07-06T13:47:21.415700Z

Isn't that how it's supposed to be setup?

2020-07-06T13:48:19.417100Z

Btw, let me know if you want to do some windows testing later... I'm planning on doing some setup on there this week...

bhauman 2020-07-06T13:48:52.417800Z

@folcon are you using the :bundle-freq option?

bhauman 2020-07-06T13:50:56.419100Z

@folcon or does it log that its bundling everytime that you save? because, you really shouldn’t be bundling every singe save as that will slow things down

2020-07-06T13:52:55.420100Z

I'm not using :bundle-freq no, that could be my issue :)

bhauman 2020-07-06T14:05:04.420600Z

well probably not because the default value is :once

2020-07-06T14:06:20.421200Z

Agreed =)…

2020-07-06T14:07:46.422200Z

The issue only came up after I swapped to webpack bundle, I would have expected the delay to be caused by compiling / reloading.

rgm 2020-07-06T18:25:34.424800Z

so I accidentally upgraded my Mac OS this morning to Big Sur (the update was labelled “Catalina” … quite unhappy). I’m figuring I’d have to do this eventually anyway, so I’m trying to work around the broken file watcher/hot reloading by running Figwheel in a docker image. I’ve got it all hooked up fine including the websocket, but the builds are quite slow. Does anyone have any docker-fu to share to get this down? Incremental build times used to be <1s and are now 20-30s.