Open NV opened 13 years ago
http://www.igvita.com/2011/08/26/server-sent-event-notifications-with-html5
If I would write livereload from scratch, I'd rather use Server-Sent Events. No problems with WebSocket protocols versions; it's plain HTTP.
Livereload doesn't use bi-directional communication, i.e. only server → browser used. So WebSockets is a bit of overhead here.
http://www.igvita.com/2011/08/26/server-sent-event-notifications-with-html5
If I would write livereload from scratch, I'd rather use Server-Sent Events. No problems with WebSocket protocols versions; it's plain HTTP.
Livereload doesn't use bi-directional communication, i.e. only server → browser used. So WebSockets is a bit of overhead here.