right... i thought this reload thing was an automatic thing now. Ok,
well serves me right for not keeping up!!

thanks for the info!
Mart :)


On Aug 9, 12:06 am, Anthony <[email protected]> wrote:
> 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()
>
> Seehttps://groups.google.com/d/msg/web2py-developers/4JU2SVUlND4/02MR-W0....
>
> 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