Live mode

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Live mode

Hugo <Nabble>
It would be great if we could tell the local server to always reload the source when a URL is requested. This would apply only to local development and the idea is to let you tweak the html and just hit refresh in the browser. This is how node.js works and this feature saves a lot of our time, considering we don't have to go to the console, stop and start the server every time we make a change.

Priority 2.
Reply | Threaded
Open this post in threaded view
|

Re: Live mode

fschmidt
Administrator
You can do it like this:

t.luan

"per_session = true" means that the servlet is loaded for each session and run in that session.  This allows you to clear the module in service() .
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: Live mode

Hugo <Nabble>
This works fine, thanks.
Closing thread.