A demonstration of how to use livereload (automatic browser reloading) for a Node.js application.
-
Install dependencies
npm install
-
Start the livereload server
grunt
-
Start the Node app
node app.js
-
Now connect a browser to http://localhost:3000. The browser will auto-reload when the code on the server changes.