Simple live reload for developing static sites

When developing my website, I’m using a simple client-side script to automatically reload the page whenever I make a change to the source files. Since it’s not coupled to any particular backend, I could continue using python3 -m http.server -d ./site/ or whatever local web server I wanted and it would still work. I could clone this repo on a new machine and get going with only preinstalled…