0
React development server not restarting automatically!
Hi, I am working on a react application but if i am making any changes to any of its file the local development server is not restrarting by its own and hence the changes are not reflected in UI. I have to restart the application manually again to see the changes.What could be the reason?
3 Respuestas
+ 1
Sometimes if there is error in code react application stop working, and you need to restart it by yourself.
But if this is heppening all the time, then try to uninstall react library and install it again.
+ 1
Hi PanicS, I tried to reinstall but it didn't work. I am using 16.8 version of React. Thanks for your response.
0
Maybe this post can help you
https://stackoverflow.com/questions/43274925/development-server-of-create-react-app-does-not-auto-refresh
If not try to create new react app and copy/paste old data to this new app. Also make sure starting javascript file are named index.js, maybe this can also make problem.