Skip to content

Browser DOM doesn't reload/reflect changes after edits are made (Windows 64-bit)  #1979

@Arkine

Description

@Arkine

If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.

Can you reproduce the problem with latest npm?

Many errors, especially related to "missing modules", are due to npm bugs.

If you're using Windows, follow these instructions to update npm.

If you're using OS X or Linux, run this to update npm:

npm install -g npm@latest

cd your_project_directory
rm -rf node_modules
npm install

Then try to reproduce the issue again.

Can you still reproduce it?

Yes

Description

What are you reporting?

React-create-app doesn't make DOM changes when edits are made to App.js. Refresh doesn't show changes and hot module reload doesn't trigger. The app is boilerplate and no additional modules have been added.

Expected behavior

Tell us what you think should happen.

DOM should reflect changes made in the editor.

Actual behavior

Tell us what actually happens.

Nothing changes when code is edited nor when I refresh the browser. Even after code edits are made and hot module reload is set, I cannot get the DOM to reflect my changes until I kill the process. Other than that, the app starts successfully and renders the initial content. When I kill the process and restart, it shows my code edits but still allows no changes.

Environment

Run these commands in the project folder and fill in their results:

  1. npm ls react-scripts (if you haven’t ejected): -- react-scripts@0.9.5
  2. node -v: v6.9.5
  3. npm -v: 4.5.0

Then, specify:

  1. Operating system: Windows 7 64bit
  2. Browser and version: Chrome 57.0.2987.133

Reproducible Demo

Please take the time to create a new app that reproduces the issue.

Un-installed and Re-installed and nothing had changed.

Alternatively, you could copy your app that experiences the problem and start removing things until you’re left with the minimal reproducible demo.

(Accidentally, you might get to the root of your problem during that process.)

Push to GitHub and paste the link here.

By doing this, you're helping the Create React App contributors a big time!
Demonstrable issues gets fixed faster.

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