On Sun, 2002-10-27 at 17:51, Edmund Lian wrote:
> FYI, an autoreload is not triggered if a .tmpl file is modified. In my
> case, the following is true:
> 
> 1. FAM is not installed so that polling is used
> 2. The .tmpl file is instantiated within a servlet (containment-style use).
> This means that the .tmpl file is never compiled to a .py file that one
> might subsequently import.

There's a fix in CVS -- you can now do:

from WebKit.ImportSpy import modloader

modloader.watchFile(templateFilename)

Then the AppServer is restarted if that file changes.  Configurable now
also uses this (so changing your Application.config will restart the
AppServer).

  Ian



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to