Skip to content

Page does not refresh on HTML change when HMR is on #1271

@andreyvolokitin

Description

@andreyvolokitin
  • Operating System: OS X 10.11.6
  • Node Version: 9.2.1
  • NPM Version: 5.6.0
  • webpack Version: 3.8.1
  • webpack-dev-server Version: 2.10.1
  • This is a bug
  • This is a modification request

Code

https://github.com/andreyvolokitin/test-webpack-dev-server

Expected Behavior

Editing ./src/index.html should cause recompiling and page refresh in the browser

Actual Behavior

Recompiling is happening, but the page in the browser does not refresh

For Bugs; How can we reproduce the behavior?

  1. git clone https://github.com/andreyvolokitin/test-webpack-dev-server && cd test-webpack-dev-server
  2. npm install && npm start
  3. Edit ./src/index.html — compiling is happening, but the page in the browser does not refresh
  4. Open browser console and edit ./src/test.js — HMR works

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions