[jruby-user] Re: Eliminate Startup Delay ?
Robin McKay <[email protected]>
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <[email protected]> |
Chris Seaton wrote in post #1158047:
Any
> modules, classes, global variables, threads, monkey patches etc created
> in one script will hang around for the next one.
Agreed. I wasn't thinking of using this idea to run several different
programs but, rather, to be able to re-run the same program quickly
during development. For example to provide an immediate response to
stupid typos.
I haven't tried, but I guess you could start a different version of
ScriptRunner for each program you want to work with. That should keep
the variables etc separate.
The startup delay is much less relevant for a finished program that is
only started once per day, and my idea would have no role there.
I only came across Drip yesterday and it didn't seem to have any impact
on startup delay. I seem to remember trying Nailgun a long time ago and
it wouldn't work with whatever I was trying.
...R
--
Posted via http://www.ruby-forum.com/.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email