Hi ,
Is there way we can make uwsgi reload on src change during development. I
am looking for similar behaviour as pserve development.ini --reload
I found a django.utils. which detects file change, and we can initiate a
uwsgi reload. Is there something similar in pyramid.
import uwsgifrom uwsgidecorators import timerfrom django.utils import autoreload
@timer(3)def change_code_gracefull_reload(sig):
if autoreload.code_changed():
uwsgi.reload()
Srikanth Bemineni
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.