i'm on a mac using GAE, but i have a script that calls dev_appserver 
(rather than using their gui launcher).  and my keystrokes memorized to 
alt+tab to terminal, ctrl+c, up arrow, enter, alt+tab to FF....perhaps not 
quite as efficient as auto-reload of modules but it keeps me happy enough.

cfh

On Tuesday, May 15, 2012 12:56:12 PM UTC-7, Alex Benfica wrote:
>
> Hi!
>
>
> I have it on my only file at models folder, at first line.
> from gluon.custom_import import track_changes; track_changes(True)
>
> When using GAE SDK, this option does NOTE reloads modules!
>
> The tickets shows erros on wrong line numbers... and changes made on 
> module files are only displayed when App Engine is stoped and started again.
>
> I'm really in trouble now... since I found that there is a huge difference 
> on performance when I keep filles on models compared to modules... but have 
> to start \ stop the development server each time I want to test my code is 
> not productive.
>
> Is there any way of make the reload work on Google App Engine?
> or... to avoid the problem... how can I develop using models and have no 
> problems changing files to modules when I decide upload then to App Engine?
>
> I'm in Windows 7 64bits
>
> Web2py Version 1.99.7 (2012-03-04 22:12:08) stable
>
> App Engine SDK 
> release: "1.6.5" 
> timestamp: 1332880663 
> api_versions: ['1'] 
> Python 2.5.2 
> wxPython 2.8.8.1 (msw-unicode) 
>
>
>
>
>
> On Tuesday, February 21, 2012 10:14:06 PM UTC-2, Massimo Di Pierro wrote:
>>
>> from gluon.custom_import import track_changes; track_changes(True) 
>>
>> On Feb 21, 5:18 pm, Bruce Wade <bruce.w...@gmail.com> wrote: 
>> > Hi, 
>> > 
>> > I am starting to find this situation a little annoying. I have a 
>> package at 
>> > the same level as gluon, adviewerAPI. Which contains several modules 
>> that I 
>> > will be using across all my applications. (Main website, customer 
>> service 
>> > app etc...) 
>> > 
>> > Now the issue is whenever I make a change to any of the modules, I need 
>> to 
>> > stop and restart the development server. Is there a setting to for auto 
>> > reload when a module changes? 
>> > 
>> > -- 
>> > -- 
>> > Regards, 
>> > Bruce Wadehttp://
>> ca.linkedin.com/in/brucelwadehttp://www.wadecybertech.comhttp://www.warplydesigned.comhttp://www.fitnessfriendsfinder.com
>
>

Reply via email to