Hi Lilo, On Sun, Nov 22, 2009 at 11: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 > > 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
_______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/