[Grok-dev] Re: zopectl autorestart

Tim Terlegård tim.terlegard at valentinewebsystems.se
Tue Jun 10 17:21:34 EDT 2008


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...

/Tim


More information about the Grok-dev mailing list