Stack Overflow Asked by Stephen Horton on December 5, 2021
I have a react / django app. The django side hosts a sqlite database, and react displays its content as the front end. When I run the command python manage.py runserver
it is hosted locally on port 8000. My specific problem is manifest when I make edits to my React code. Even after refreshing the page and restarting the server, my front-end still remains as it was before I had edited the code and saved. I have no errors, or warnings.
The only way I seem to be able to make it work is by pushing to GitHub and then cloning the repository on my system again. Would anyone be able to help me understand my dilemma? (Please let me know if my question is not to par with the guidelines of Stack Overflow, this is my first time)
Apparently I was supposed to be running npm run dev
. Started working after that.
Answered by Stephen Horton on December 5, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP