-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
Hot Module Replacement plugin entry doesn't seem to be added when using the API. The new tests on the PR #1664 use the dev server API via the test/helper.js
and addEntries
function in lib/utils/addEntries.js
had to be manually called to make it work.
webpack Version: 4.29.0
webpack-dev-server Version: 3.1.14
- This is a bug
- This is a modification request
How can we reproduce the behavior?
Remove addEntries
call in test/Client.test.js and the e2e test will fail because HMR is not loaded.
Expected behavior
When using the API and hot
is enabled, HMR plugin entry should be also added.