[Product-Developers] Re: [ann] collective.autorestart - no more Plone restarts

Kees Hink hink at gw20e.com
Wed Apr 15 12:02:50 UTC 2009


My bad, i forgot to include collective.autorestart in my instance's zcml.
(I went looking because i didn't even get the message "Monitoring %d paths, %d
files for changes" (scanner.py, l. 106) on startup. Should have done that before.)

Mikko Ohtamaa wrote:
>> However, it didn't pick up my changed view class instantly - i currently still
>> have to go to @@reload.
> 
> Do you get any kind of notification to the terminal if file changes
> are detected?
> 
> Currently scanner.py is full of ad hoc rules which folders should be
> monitored. They might not work always. After having little sleep I
> came to the conclusion that this ruleset can be replaced with a simple
> condition "if folder has __init__.py then monitor it." You might want
> to poke debugging levels in scanner.py to see if your files are
> scanned properly.
> 
> I'll release a fixed version with better logging/debug support later.
> 
> -Mikko




More information about the Product-Developers mailing list