[Grok-dev] Re: zopectl autorestart

Martin Aspeli optilude at gmx.net
Tue Jun 10 18:05:04 EDT 2008

Tim Terlegård wrote:
> On Jun 10, 2008, at 1:08 AM, Martin Aspeli wrote:
>> Peter Bengtsson wrote:
>>> I've managed to hack zc.zope3recipes.ctl to accept another program
>>> called "autorestart". You run it like this::
>>> $ ./bin/zopectl autorestart src/mymodule
>>> It will then start an inotify watcher to watch all .py files (except
>>> tests) and .pt files that define a macro and whenever it spots a
>>> change it restarts Zope.
>> Why not just use the support built into paste? If you use Paste to  
>> serve a WSGI application, you can just do:
>> $ paster serve --reload myprogram.ini
> Because grok is not wsgified yet...

I thought Zope 3 had a WSGI publisher?

It shouldn't even be that hard. WSGI is pretty easy. Famous last words, 
I'm sure. But if it were me, I'd rather put time into making Grok 
deployable with WSGI and paste than in recreating something Paste 
already has.


Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

More information about the Grok-dev mailing list