On Feb 8, 2006, at 3:01 PM, David Binger wrote:
On Feb 8, 2006, at 7:50 AM, Michele Simionato wrote:
Well, that microscopic patch fixes a shortcoming of simple_server,
ensuring a graceful exit when CTRL-C is pressed. However, it is
my understanding that the OP wants much more, i.e an autoreload
functionality of a specific subset of modules of an application, as
for instance the 'refresh' functionality of Zope.

I think you are right about what is desired.
If there is a reliable way to reload arbitrary modules in Python,
I'd like to know about it too.

I think the only thing that might be useful would be a crude total web application restart, when in very specific dev mode. Here's how this is done in (threaded) cherrypy: http://svn.cherrypy.org/trunk/cherrypy/lib/autoreload.py

Maybe in quixote or qp, a separate script/process could watch specific source files, as well as (re-)spawn off the actual web process.

m.

_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users

Reply via email to