Command line output as HTML to a Browser, watch for new changes and refresh the browser -
i have ruby command line application outputs results of sequential calculations based on commands entered on the terminal. command-line-application can output results html file.
how can make browser detect changes html file , refresh display new changes ruby application?
in effect, when run commands on terminal, output formatted using html , written html file. browser "watching" html file refreshes display new html file upon detecting html file has changed.
this not ruby problem. want browser reload page on change. solution http://livereload.com/.
Comments
Post a Comment