[Flask] Restarting Flask app?

Brian O'Connor gatzby3jr at gmail.com
Tue May 10 15:11:53 EDT 2016


This page may be of use to you:
http://uwsgi-docs.readthedocs.io/en/latest/articles/TheArtOfGracefulReloading.html

Personally, I use the --touch-reload option.

On Tue, May 10, 2016 at 3:02 PM, Alex Hall <ahall at autodist.com> wrote:

> Hi all,
> 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?
>
> --
> Alex Hall
> Automatic Distributors, IT department
> ahall at autodist.com
>
> _______________________________________________
> Flask mailing list
> Flask at python.org
> https://mail.python.org/mailman/listinfo/flask
>
>


-- 
Brian O'Connor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20160510/90a36a65/attachment.html>


More information about the Flask mailing list