Skip to content

Doesn't reload the page after succesfull compile in new react app #476

@spenat28

Description

@spenat28

OS: MacOS
Browser: Chroma (latest)

Expected:
on index.js change page should full reload

Actual result:
on index.js change there is no reload, and changes are not visible in browser without manual refresh

Simulate it:

  1. create new app
$ npx create-react-app my-app
$ cd my-app
$ npm start
  1. edit index.js - make any change: add some console log or DIV ...
  2. in terminal, you can see that app did compile
  3. changes should be visible in browser - in this case - full page reload should occur -- but nothing happens

When editing App.js - changes are fast reloaded. (At least most of the time ...)

Note:
example of this is in new app, but it doesn't work in larger projects either in most files.

Known workaround in our up now is just one solution we know: disabling fast reload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions