<div dir="ltr">This page may be of use to you: <a href="http://uwsgi-docs.readthedocs.io/en/latest/articles/TheArtOfGracefulReloading.html">http://uwsgi-docs.readthedocs.io/en/latest/articles/TheArtOfGracefulReloading.html</a><div><br></div><div>Personally, I use the --touch-reload option.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 10, 2016 at 3:02 PM, Alex Hall <span dir="ltr"><<a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi all,<br></div>It just struck me that restarting a Flask app after modifying the Python code isn't obvious. Do I restart UWSGI, Nginx, or both? In UWSGI, I specified "master=true", which I read lets you apply changes without restarting. Therefore, do I need to restart anything, or simply save my changes to the code and watch it happen automatically?<span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><br>-- <br><div><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div></div></font></span></div>
<br>_______________________________________________<br>
Flask mailing list<br>
<a href="mailto:Flask@python.org">Flask@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/flask</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Brian O'Connor</div>
</div>