In Python, imported modules don't reload automatically. In web2py, you can 
tell it to reload whenever there is a change by adding the following:

from gluon.custom_import import track_changes
track_changes(True)

See 
http://web2py.com/book/default/chapter/04#Accessing-the-API-from-Python-modules.

Anthony

On Tuesday, November 22, 2011 2:50:58 PM UTC-5, viniciusban wrote:
>
> I lost some time this afternoon fighting against a bug that was
> already solved, but I didn't see it working.
>
> I'm importing a python module in myapp/modules folder. Changes I made
> there wasn't saw in browser processing.
>
> The only way to make it work was restarting web2py server.
>
> Is there any config param I can adjust to dynamically reload modules?
>
> --
> Vinicius Assef.
>
>

Reply via email to