Live reloaded output from command line apps in the browser
npm install auto-refreshing-browser-console -g
$ consoleserver
from the root directory of your project, or
$ consoleserver -d projectDir
to use projectDir as the root of your project
$ consoleserver -p [number]
will run the server from port p. If -p is omitted, the port defaults to 7000.
The program will print
Open http://localhost:7000 in Chrome
Press Ctrl+C to exit
Enter a command in the text field and hit execute. The command will run and the output will be shown in the browser.
Now the cool part: whenever you change a file in the project, the browser will automatically refresh the results from your command.