What you've done here has inadvertently removed all support for HMR. I can't advise on what the best approach is overall until I've had a play around with it myself as there are a few possibilities.
Thanks for noticing that! Sorry I missed to check that as I didn't think any of my changes should effect HMR! (totally my bad 😓)
I will look into fixing HMR here as soon as I can.
By the way, I will also create an issue for HMR testing, I think we should definitely have some tests that do make sure that HMR works
Thanks for noticing that! Sorry I missed to check that as I didn't think any of my changes should effect HMR! (totally my bad 😓)
I will look into fixing HMR here as soon as I can.
By the way, I will also create an issue for HMR testing, I think we should definitely have some tests that do make sure that HMR works