Read: http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode
You want to use daemon mode for a start. Towards end of that document it then explains how to setup development server type functionality whereby code changes to any file cause a reload of whole application. This should though only be used in development though and not production. Graham On 29 June 2011 22:21, Daniela Hasenbring <[email protected]> wrote: > Hi, > > I am writing an application using Python. Whenever I change something > in my index.py (thats called in the request via Browser) everything > works fine.. but as soon as I change something at an imported module > only, I have to at least touch the index.py to see the changes. > > Is there any way to auto refresh the imported Modules too? > > Thanks, > Daniela > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
