how django discovers changed sources
jeffober at gmail.com
Thu Jan 17 20:59:44 CET 2008
On Jan 17, 2:51 pm, "Guilherme Polo" <ggp... at gmail.com> wrote:
> 2008/1/17, alf <a... at me.xs4all.nl>:> Jeff wrote:
> > > That is the behavior of the development server. When you are writing
> > > your application, you don't want to have to manually restart the
> > > server every time you change a file. On apache it obviously doesn't
> > > do that.
> > thx for clarification, but still I am curious how it is done under the
> > hood. it really impressed me ...
> > --
> It checks if modification time on registered files have changed since last check
> -- Guilherme H. Polo Goncalves
django.utils.autoreload provides the functionality.
More information about the Python-list