I installed the baisc vue-webpack template and I can not get hot reloading to work. Although whenever I make a change to a file in the console I see the re-compiling being done the browser page does not reload by itself.
I am using Google Chrome on Windows 10, there is a request to __webpack_hmr that stay son pending for 5-10 seconds then the request is canceled.
Can you try the example project from this repo? Do you get the same problem?
Are you on windows? There's a bunch of reports around networking issues from the EventSource connection that tend to appear on windows. There might be some workarounds you can try in the comments of the other issues.
The example doesn't work either, although the webpack is rebuilding the browser is not updating, I have to refresh to see the changes. I searched for about 2 hours for a solution and tried most fixes I have found, still no success. So, same issue: the __webpack_hmr request stays on pending until it is canceled.
LE: I think I found the problem, I tried disabling the antivirus (BitDefender Free) and it seems to be working as expected now.
The problem (in my case) was the antivirus. Disabling BitDefender Antivirus Free fixes the issue. Unfortunately I don't know the exact cause as the antivirus logs don't report anything.
Most helpful comment
The problem (in my case) was the antivirus. Disabling BitDefender Antivirus Free fixes the issue. Unfortunately I don't know the exact cause as the antivirus logs don't report anything.