livereload code example
Example: what is live reload
livereload.js
is opensource implemention of client side of the livereload protocol.
The client connects to a LiveReload server
via web sockets and listens for incoming change notifications.
When a CSS or an image file is modified, it is live-refreshed
without reloading the page.
When any other file is modified, the page is reloaded.