Webpack-hot-middleware: __webpack_hmr not loading

Created on 13 Mar 2017  路  3Comments  路  Source: webpack-contrib/webpack-hot-middleware

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.

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.

All 3 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

benjarwar picture benjarwar  路  10Comments

DmitryVolkovTulaco picture DmitryVolkovTulaco  路  4Comments

mohammed-elhaouari picture mohammed-elhaouari  路  8Comments

Javison666 picture Javison666  路  7Comments

drewwyatt picture drewwyatt  路  8Comments