Skip to content

[HMR] Edit files will cause full page reload. #2972

@SidKwok

Description

@SidKwok

Is this a bug report?

Yes

Can you also reproduce the problem with npm 4.x?

yes

Which terms did you search for in User Guide?

(Write your answer here if relevant.)
not relevant

Environment

  1. node -v: 7.6
  2. npm -v: 4.3
  3. yarn --version (if you use Yarn): 0.27.5
  4. npm ls react-scripts (if you haven’t ejected): 1.0.11

Then, specify:

  1. Operating system: macOS 10.12.6
  2. Browser and version (if relevant): chrome 60.0.3112.90

Steps to Reproduce

(Write your steps here:)

  1. edit src/App.js
  2. save

Expected Behavior

Only specific area will change.

Actual Behavior

Full page reload

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

Thoughts

webpack2 doesn't seem to have such issue.

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