Just found the relevant manual section:
http://web2py.com/books/default/chapter/29/04/the-core#Sharing-the-global-scope-with-modules-using-the-current-object

It was lacking this:

from gluon.custom_import import track_changes
track_changes(True)


On Tuesday, February 23, 2016 at 5:19:32 PM UTC-6, Antonio Salazar wrote:
>
> I understand that the custom importer in gluon can track changed app 
> modules and reimport them transparently.
>
> This is not happening in my case, I have to restart web2py to see new 
> module changes. Do I have to do anything else besides the usual 'import 
> xyz'?
>
> I'm using web2py 2.12.3 on Windows with the integrated web server.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to