I followed the guide here, which worked fine.


But when I change content within the myproject.py file nothing changes!


return "<h1 style='color:blue'>Hello There!</h1>"


return "<h1 style='color:blue'>Hello World!</h1>"

I am hoping there is some kind of setting that will just use the new pages as I have uploaded them and not cache any code files.



These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer


What you need to do is change your uwsgi.ini file and add:

touch-reload = /home/path/to/app.py

Then run touch app.py, this will reload uWSGI without having to restart it manually.

Submit an Answer