4 ms·
I think the problem with webpack isn't the websockets, but that the devtools have a hard time dealing with large JS files, and especially large JS source maps.
by mythmon_ 10y ago
I think the problem with webpack isn't the websockets, but that the devtools have a hard time dealing with large JS files, and especially large JS source maps. Changing the sourcemap option in webpack has helped avoiding hanging for me in the past. It would be nice if that wasn't the case though.
- cygned 10y agoWe use eval because we have around 60k LOC now and they were just too slow. The hanging occurs if you reload the page, it hangs a few seconds, then a message concerning websockets pops up in the dev tools and then the page reloads.