Send an AJAX or JSON request from the client so often requesting status.xml . Then, on the server, when something changes, just quickly write a new line on status.xml just like on the console. You can use setInterval( function, timeBetweenRuns ) in Javascript to do this regularly.
Just jake
source share