[Nitro] [PATCH] Add a flag to disable auto reload

rob rob at motionpath.com
Sat Feb 25 04:09:45 EST 2006


We could make some kind of configuration system ala Og.setup that  
doesn't need global variables? I personally don't mind globals for  
application flags, it seems if your going to use them then it's the  
best sort of use for them?

On 25 Feb 2006, at 07:23, Bryan Soto wrote:

> On 2/23/06, Rob Pitt <rob at motionpath.com> wrote:
> If you set $NITRO_NO_AUTO_RELOAD to true, then it disables auto  
> reload.
> This is very handy for debugging, like now the problem I am trying to
> debug of somewhere in Og one of my Exceptions being swallowed,
> set_trace_func doesn't get locked in loops because auto reload hogs  
> the
> cpu time.
>
> Seems reasonable. I hate adding another global variable, but it  
> doesn't seem avoidable though.
>
> Bryan
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20060225/29c19d5b/attachment.html 


More information about the Nitro-general mailing list