I'm accessing HTML/JS files on localhost served by Node. When I update the code, Webpack automatically rebuilds the JS files.
Sometimes, after I update some code and refresh the page, the JS file download hangs forever. It still hangs after:
It occurs whether or not Devtools is open.
The only ways I've found to stop it from hanging are:
Why does this happen? I'm using Chrome 88 on Windows 10. I think this is caused by Chrome and not Node, since restarting the Node server didn't do anything.
NodeJS has a cluster module which may speed up your execution: https://nodejs.org/api/cluster.html