Description
Please provide the environment you discovered this bug in.
WSL/Ubuntu, Windows
Which area/package is the issue in?
Don't know / other
Description
I ran into a problem with hot reloading my dev server after performing a pnpm upgrade of my dependencies. After starting the server, the app loads correctly. I can then make a single change to the codebase, and the hot reload works fine. A second change to the codebase breaks the hot reload: the application appears to build, and the client refreshes, but the client receives the old code from the first change (as if I had not made the 2nd change at all). Subsequent edits repeat this behavior: the client never receives any updated code.
I traced this error down to these two npm packages. I can upgrade any other dependency without issue, but if either or both of these packages is updated to 1.16.1, hot reload is broken.
Please provide the exception or error you saw
No exceptions or errors logged.
Other information
Minimal reproduction: https://github.com/DarthRainbows/minimal-hot-reload-repro
I would be willing to submit a PR to fix this issue
- Yes
- No