TLDR Web Dev · QUICK LINKS
SIMPLE LIVE RELOAD FOR DEVELOPING STATIC SITES
Summary from the TLDR Web Dev newsletter
A 39-line client-side JavaScript snippet can automatically reload a static website in the browser whenever changes are detected in the source files, using HTTP HEAD requests to monitor Last-Modified and ETag headers.