Example code for a Node.js based live reload server. The Medium post describing this is here (Link TBD). Note that the techniques used here are just for example purposes to explain WebSockets better. This code will not scale well for production environments.
Just run: npm install
Use: node server.js 8000
Based almost entirely on the connect
middleware with the server-static
library. The image is royalty free from here: https://pixabay.com/vectors/computer-network-router-server-159829/