How to autoreload when doing local HTML/CSS development
version 0.1, 2023-03-18
Add this script to your page:
<script type="text/javascript" src="https://livejs.com/live.js"></script>
It works when doing local development!
Using it with Golang Templates only for Development
I put this in my templates:
{{ if .Development }}<script type="text/javascript" src="https://livejs.com/live.js"></script>{{ end }}