I think that's how imports generally work. With the new custom importer, 
though, you can have it automatically reload modules whenever they change. 
Somewhere in your code, add:
 
from gluon.custom_import import track_changes
track_changes()
 
See 
https://groups.google.com/d/msg/web2py-developers/4JU2SVUlND4/02MR-W0V7QIJ.
 
Anthony
 

On Monday, August 8, 2011 11:42:44 PM UTC-4, mart wrote:

> Hi all, 
>
> is this a bug, or something I'm doing wrong? 
>
> Here's the scoop: 
>
> web2py is embedded within a folder structure. I use Aptana to update 
> files (including files under the web2py/... directory). the problem I 
> have been seeing is that any change to /applications/myApp/modules/ 
> myModule.py is not applied unless I bounced the web2py server. If I 
> refresh my browser and open the same file with the web2py file editor, 
> i can see the changes but they are not 'loaded', again, unless I 
> bounce the server. 
>
> Is this expected? 
>
> thanks a bunch, 
> Mart :)

Reply via email to