create-react-app
create-react-app copied to clipboard
React script version 4.0.0 does not reloads the browser when new changes are made
Describe the bug
I have been trying to create a new react app using npx
and when I make changes to that new react app, the changes do not automatically get reflected in the browser. As far as I have seen, it works when use another version of react script like 3.4.4
but when I use the latest 4.0.0
it does not work. I have tried with both npm and yarn.
Did you try recovering your dependencies?
Yes, I did but the issue did not get resolved.
Which terms did you search for in the User Guide?
I made a search for react app did not reload after making changes in the codes.
Environment
Environment Info:
current version of create-react-app: 4.0.0
running from /home/mwibutsa/.npm/_npx/252967/lib/node_modules/create-react-app
System:
OS: Linux 5.8 Pop!_OS 20.04 LTS
CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Binaries:
Node: 14.15.1 - /usr/local/bin/node
Yarn: 1.22.5 - /usr/bin/yarn
npm: 6.14.9 - /usr/local/bin/npm
Browsers:
Chrome: 86.0.4240.111
Firefox: 82.0
npmPackages:
react: ^17.0.1 => 17.0.1
react-dom: ^17.0.1 => 17.0.1
react-scripts: 4.0.0 => 4.0.0
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
(Write your steps here:)
1.npx create-react-app jsx
2. delete all the files in src/
directory and recreate a new index.js
file in the same directory
3. write these codes and start the app.
- make any new changes to the codes like changing the text
Expected behavior
- The browser tab containing the app should reload to reflect new changes
Actual behavior
- The browser did not reload
Related https://github.com/facebook/create-react-app/issues/9984
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
hey guys, any news for this? thanks!
Also still not working
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
Any update on this?
Good morning, any update on this issue? If it is fixed, it should be closed. Thanks.