> On 12 Feb 2016, at 8:27 PM, Sanjaya Sahu <[email protected]> wrote:
> 
> Hi,
> 
> I am running mod_wsgi-express start-server wsgi.py. Whenever I do any changes 
> in dependent file (py files) it does not automatically reload and effect. I 
> have to ctrl+c stop and again run to see the effect in site. How can I reload 
> it automatically whenever any change in any file. I tried --reload-on-changes 
> and it does not work for me.

Reloading with —reload-on-changes should work for any Python code files which 
are imported as a module or as part of a Python package. If you are using a web 
framework which loads Python code files itself in a way that an entry is not 
recorded in sys.modules, then automatic reloading will not work.

What web framework are you using, or otherwise how are the code files you are 
modifying being imported by the web application.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to