Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
reloading .rb files / reparsing?
d c
2/3/2007 4:31:00 PM
hi -
I'm working on an app which is using webbrick for its mini web-server.
each time i change the source i have to restart my app;
is there a way to get ruby to re-parse the files without this?
effectively the same as if just reloading the page if it were PHP...
i guess rails does this - "not caching" the files while in dev mode.
tx!
/dc
-------------------------------------------
David "DC" Collier
mailto:dc@pikkle.com
+81 (0)80 6521 9559
skype: callto://d3ntaku
-------------------------------------------
Pikkle ????
http://www....
-------------------------------------------
1 Answer
Chris Carter
2/3/2007 4:36:00 PM
0
On 2/3/07, dc <lister@pikkle.com> wrote:
> hi -
>
> I'm working on an app which is using webbrick for its mini web-server.
>
> each time i change the source i have to restart my app;
> is there a way to get ruby to re-parse the files without this?
> effectively the same as if just reloading the page if it were PHP...
>
> i guess rails does this - "not caching" the files while in dev mode.
>
> tx!
>
> /dc
> -------------------------------------------
> David "DC" Collier
> mailto:dc@pikkle.com
> +81 (0)80 6521 9559
> skype: callto://d3ntaku
> -------------------------------------------
> Pikkle ????
>
http://www....
> -------------------------------------------
>
>
Hi David,
You could try hacking the Camping Reloader to do your business:
http://code.whytheluckystiff.net/camping/browser/trunk/lib/camping/r...
http://code.whytheluckystiff.net/camping/browser/trunk/b...
(this uses it)
--
Chris Carter
concentrationstudios.com
brynmawrcs.com
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
reloading .rb files / reparsing?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password