-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
- Operating System: MacOS High Sierra, Ubuntu 16.04
- Node Version: 8.9.4
- NPM Version: 5.6.0
- webpack Version: 3.11.0
- webpack-dev-server Version: 2.11.1
- This is a bug
- This is a modification request
Code
I've made a repository that minimally recreates this issue. JayAndCatchFire/minimal-wds-bug-example
Expected Behavior
Scenario 1
- The user's code being packed with webpack has a build-time error in it.
- The user starts webpack-dev-server and navigates to the app in their browser. The app doesn't fully load due to the build-time error.
- The build-time error in the user's code is corrected and webpack successfully rebuilds the bundle.
- Webpack-dev-server should reload the app page with the newly built code.
Scenario 2
- The user has been running webpack-dev-server for a bit and introduces a code change in their code that includes a build-time error.
- The user navigates to their app in a browser with a fresh tab at this point or manually hard-reloads the page at this point. The app doesn't fully load due to the build-time error.
- The build-time error in the user's code is corrected and webpack successfully rebuilds the bundle.
- Webpack-dev-server should reload the app page with the newly built code.
Actual Behavior
In both of the above scenarios, the fourth step doesn't occur. The page remains in a broken state.
For Bugs; How can we reproduce the behavior?
The steps outlined in the scenarios above should outline how to reproduce the bug reliably, although I give more detailed instructions in the README file in my example repository.
SpaceK33z
Metadata
Metadata
Assignees
Labels
No labels