Restarting the sever re-initializes gluon; Your modules are read / re-evaluated (as you say) when you run them - so that happens "all the time" in the start / stop edit / start parts of developing on web2py. Your served homepage is .... init (if it's there) or welcome (the template for starting other new projects) by default.
You are free to put what you like in your init - even a simple re-direct to the admin if you would prefer to start that way during local development. Does this help? On Fri, Nov 7, 2008 at 3:46 PM, Timothy Farrell <[EMAIL PROTECTED]> wrote: > My experience with this was generally positive, but it has one rough edge: > > The option to restart the server is somewhat of a misnomer. People restart > Apache to get it to re-read it's configuration or to reclaim some leaked > memory. In the case of web2py, one might restart web2py to get it to pick up > on some module changes. However this option to restart only starts and > stops the server, it does not (provide the ability to) re-evaluate the > modules for changes. But it does restart a browser pointing to your served > homepage (which I find annoying). This begs the question, why have this > feature? What good does it do? > > Other than that, great work! I like being able to have web2py take up less > screen-space when I'm testing. > > -tim > > > Mark Larsen wrote: > > Based on Tim Farrell's advice in a previous discussion, I've recoded > my system tray stuff using pyWin32 libraries (Mark Hammond had an > excellent example). While this means it'll only work on windows it > does not add the WX library bloat (it's a single .py file and maybe a > dozen lines in widget.py). > > If Massimo or anyone else is interested, I just created a patch off of > SVN Trunk. > > Thanks, > Mark > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---