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

Bryan Soto bryan.a.soto at gmail.com
Sat Feb 25 13:53:17 EST 2006


Oh, don't mind me. I'm a closet functional programmer, so I object to them
on principle. ;)

On 2/25/06, rob <rob at motionpath.com> wrote:
>
> 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
>
>
>
> _______________________________________________
> 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/3487da9d/attachment.html 


More information about the Nitro-general mailing list