Open chrstntdd opened 6 years ago
Weird - I haven't seen that one before. I don't use { reload: true }
in my hmr config. I wonder if that is affecting things somehow?
That must be it. I notice too that with this config, hitting save will trigger a recompile and will on occasionally result in a log like this:
Success! Compiled 1 module.
Successfully generated /var/folders/jg/x0pw1f5j3lsdctc4j_pyxf6r0000gn/T/tmp-42706mmMbZteuZoFi.js
Failed to compile Elm.
In the browser I also get this warning as well, so I think it must be due to HMR:
uncaught exception: Package not found fusebox-hot-reload
Maybe a race condition where the entire bundle isn't receiving fusebox-hot-reload
?
I believe this has to be related to hot module replacement implementation for this plugin since this error will only be thrown during a change to my source files. Not a huge bug really, I can usually get around it by restarting fuse, clearing out
.fusebox
, removingnode_modules
and doing a fresh install of all my dependencies, or some combination of those three.In my
fuse.js
file, I have this for my development builds: