make sure to install livereload globally on your system! \o/
npm install -g livereload` run livereload in your local directory or run a watch script
livereload = require('livereload');
server = livereload.createServer();
server.watch(__dirname + "/stuffToChange");embed the script in your HTML:
<script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script>alternatively use a hostname working on a different server:
<script src="http://hilariousHorst:35729/livereload.js?snipver=1"></script>