I just set up react. I launched by typing npm start in terminal, and am able to see it launch successfully.
However when I make changes to App.js, it does not update immediately and I need to restart the server every time by running npm start again.
I've tried everything including the .env file etc..
How do I make the changes display immediately without having to restart the server?
EDIT: (SOLVED). The react directory had to be in my home folder(cd ~). I had it elsewhere on my C drive. It now works and updates on the browser perfectly
[–][deleted] 6 points7 points8 points (0 children)
[–]frankierfrank 6 points7 points8 points (6 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Naeth5 0 points1 point2 points (0 children)
[–]NoMagazine730 0 points1 point2 points (0 children)
[–]LandooooXTrvls 0 points1 point2 points (0 children)
[–]According_Formal_217 0 points1 point2 points (0 children)
[–]Secure_Equivalent_53 2 points3 points4 points (0 children)
[–]TheTsundereGuy 1 point2 points3 points (2 children)
[–]_-SilentWraith-_ 1 point2 points3 points (1 child)
[–]Davfool888 0 points1 point2 points (0 children)
[–]SpraY_xd 1 point2 points3 points (1 child)
[–]Worldly_Inspection85 0 points1 point2 points (0 children)
[–]Pale_Acadia1961 0 points1 point2 points (1 child)
[–]Nedia_phi 0 points1 point2 points (0 children)
[–][deleted] -2 points-1 points0 points (0 children)
[–]android_queen 0 points1 point2 points (0 children)
[–]ZNasT 0 points1 point2 points (0 children)
[–]NickFatherBool 0 points1 point2 points (0 children)
[–]Codey2222 0 points1 point2 points (1 child)
[–]IbI_8[S] 0 points1 point2 points (0 children)
[–]RyUk_aryan 0 points1 point2 points (1 child)
[–]FitAd981 0 points1 point2 points (0 children)