lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Thanks for the hint Fabio. It works.

--
Lilo

________________________________
> Date: Mon, 23 Nov 2009 08:03:35 -0600
> Subject: Re: Reloading application with orbit command
> From: mascarenhas@acm.org
> To: lua@bazar2.conectiva.com.br
>
> I sent the answer to the Kepler list, basically you have to use the "wsapi" script installed by WSAPI-Xavante instead of the "orbit" script if you want automatic reloading on "touch".
>
>
> --
> Fabio Mascarenhas
>
>
>
> On Mon, Nov 23, 2009 at 3:15 AM, Lilo Lilo> wrote:
>
>
>
> Steve, Phoenix,
>
>
>
> Thanks for answering. My problem seems different however.
>
> To be more specific if you want to try and reproduce it, 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
>
>
>
> Thanks a lot for your time
>
>
>
> --
>
> Lilo
>
>
>
> ----------------------------------------
>
>> Date: Mon, 23 Nov 2009 08:17:01 +0200
>
>> Subject: Re: Reloading application with orbit command
>
>> From: steve.j.donovan@gmail.com
>
>> To: lua@bazar2.conectiva.com.br
>
>>
>
>> On Sun, Nov 22, 2009 at 8:11 PM, Phoenix Sol wrote:
>
>>> I've yet to mess with it, but it's on my list. It seems like Rob
>
>>> Hoelz's linotify module and dofile would provide the necessary material
>
>>> for a simple live-coding system on Linux.
>
>>
>
>> It can even be simpler than that. I did a little toy web framework
>
>> for my embedded Gumstixes and all I had to do was save the timestamp
>
>> of the script when first loaded, and thereafter just recheck the
>
>> timestamp. In this case, the 'server' was a fairly involved process
>
>> that wasn't as easy to 'just restart' as (say) Xavante, so being able
>
>> to change a script and then test it in the browser without restarting
>
>> was very useful.
>
>
>
> _________________________________________________________________
>
> 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
>
>
 		 	   		  
_________________________________________________________________
Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®.
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_4:092009