Usually your uwsgi.ini
will contain something like this:
touch-reload = /home/username/apps/appname/myproject/wsgi.py
So to reload your code without restarting you can run: touch /home/username/apps/appname/myproject/wsgi.py
Regarding the stop problem, check that /home/username/apps/appname/tmp/uwsgi.pid
contains the proccess ID of your app's uwsgi master process. You can check the pid of the master process by running:
pgrep -o -f /home/username/apps/appname/env/bin/uwsgi
if it doesn't match then running the following command should fix it:
pgrep -o -f /home/username/apps/appname/env/bin/uwsgi > /home/username/apps/appname/tmp/uwsgi.pid
At that point your stop
command should work correctly.