python-auto-reload works just fine... for development; it would be even better 
to have support for some `pattern` for reload, e.g. `*.html`.

Thanks.

Andriy

----------------------------------------
> Date: Tue, 15 Jan 2013 17:22:17 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: [uWSGI] Smarter app reloading for development
>
>
> > Hi list,
> >
> > First, thank you very much for providing uwsgi. I'm using it since
> > nearly 3 years for my applications, and I've seen constant progress
> > and improvements. The Debian package is also great (although it
> > doesn't support pidfile2 but this is another story).
> >
> > Let me explain a usecase we have at my company, for providing
> > hot-reload to Python developers.
> >
> > In /etc/uwsgi/apps-enabled I request Chef to generate one app config
> > for each developer. Here is the Chef template I use:
> >
> > {
> > "uwsgi": {
> > "touch-reload": <%= (Dir.glob(@app_dir + "/*/*.py") +
> > Dir.glob(@app_dir + "/*.py") + Dir.glob(@app_dir + "/ui/*/*.tmpl") +
> > Dir.glob(@app_dir + "/ui/*.tmpl")).inspect %>,
> > "module": "server:application",
> > "pythonpath": <%= [@app_dir + "/core"].to_json %>,
> > "uid": "www-data",
> > "gid": "www-data"
> > }
> > }
> >
> >
>
> What about using py-auto-reload option ?
>
> Note: it is good only for development as it spawns a pretty heavy thread
> monitoring modules
>
> --
> Roberto De Ioris
> http://unbit.it
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
                                          
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to