Ryan,

Thank you for your answer. I however did not understand what you mean by "top 
level file".

If you want to try and reproduce the problem to tell me what I'm missing, here 
are the steps I'm taking:

- Install the latest Orbit (I installed version 2.1.0-1 via Luarocks)
- Browse to your Orbit rock's hello sample 
(YourPath/luarocks/rocks/orbit/2.1.0-1/samples/hello)
- Run 'orbit hello.ws' or even 'orbit hello.lua'
- Start your browser at http://localhost:8080/ and you get 'Hello World!'
- Now edit that 'Hello World!' (line 55) in hello.lua to 'Hello!' or something 
else and save the file in your editor
- I have even run 'touch hello.ws' and 'touch hello.lua' to no avail
- Now refresh your browser and 'Hello World!' is still there
- I just can't get it to reload the changed sentence

If other members of the mailing list want to try these steps, I would be 
grateful.

Thanks in advance

--
Lilo

________________________________
> From: rpusz...@gmail.com
> Date: Sun, 22 Nov 2009 20:53:45 -0500
> Subject: Re: [Kepler-Project] Reloading an Orbit application with orbit 
> command
> To: kepler-project@lists.luaforge.net
>
> Hi Lilo,
>
> On Sun, Nov 22, 2009 at 11:47 AM, Lilo Lilo> wrote:
>
>
>
>
> Hello,
>
>
>
> Sorry for cross-posting this question I asked on the Lua list but I'm new to 
> Lua and just noticed Kepler had another mail list.
>
>
>
> I'm using the orbit command distributed with Orbit 2.1.0-1 (i.e. orbit 
> [options] ) to start the hello.ws example.
>
>
>
> I cannot however reload (refresh) the browser display after I change the 
> "Hello World!" message unless I stop and run the 'orbit hello.ws' or 
> hello.lua command again. Neither "touch" nor editing the application is 
> forcing a reload.
>
>
>
>
>
> Looking inside the orbit command, I see it gets a wsapi.xavante.makeHandler 
> (app, nil, path, path) instead of the makeGenericHandler of the previous 
> version. Is it this makeHandler that's preventing reload?
>
>
>
> This behavior would not be handy in a development environment. Is there an 
> option to get the Orbit application to refresh without restarting xavante 
> using the above orbit command?
>
>
>
> Thanks for your time and sorry again for cross-posting
>
>
>
> I just 'touch' the main file. It isn't perfect but it works. Remember that it 
> needs to be the top level file for this to work.
>
> Ex: $ touch hello.ws
>
>
> --
> Regards,
> Ryan
                                          
_________________________________________________________________
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail 
you.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010
_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to