Hi Lilo,

I am going to add "reload" support to the orbit command, but right now you
can get the same functionality by using the wsapi command instead, but you
will need to provide the script name in the URL, so instead of doing

orbit foo.lua

and going to http://localhost:8080/ you do

wsapi --reload

and go to http://localhost:8080/foo.lua/

--
Fabio Mascarenhas
P.S. to all: my iPod has been my sole email acess point during the last
week, so I this week I am doing some catching up on emails that were sent to
the Kepler list last week.

On Sun, Nov 22, 2009 at 10:47 AM, Lilo Lilo <hi9ther...@hotmail.com> 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] <application.(lua|ws)>) 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
>
> --
> Lilo
> _________________________________________________________________
> Windows Live: Keep your friends up to date with what you do online.
>
> 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_1:092010
> _______________________________________________
> Kepler-Project mailing list
> Kepler-Project@lists.luaforge.net
> http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
> http://www.keplerproject.org/
>
_______________________________________________
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