Great, seems to be working fine here (ubuntu) on a quickstarted project, even tested by extending two templates. Thank you.
Ciao Michele David Stanek wrote: > I created a patch to automatically reloading base templates and > attached it to ticket #55[0]. Feel free to apply it and give me some > feedback. It seems to work in my small environment. > > The old reloading mechanism was very simple. When > KidSupport.load_template was called the template file's mtime was > compared to a saved mtime. If the file was newer it was reloaded. > > I have enhanced this mechanism to also recursively check the __bases__ > of a template. If a base template's mtime is newer that the template's > mtime it is reloaded. > > I will be patching Kid so that it stores the mtime for modules that it > creates. This will allow the TG code to compare a base template's mtime > against it's own stored mtime. And will make the process much more fool > proof. It's not perfect, but it is a start. > > [0] http://trac.turbogears.org/turbogears/ticket/55 > > -- David

