To enable auto-reload functionality, add somewhere in code:
// Auto-reload
(new EventSource('/reload')).onmessage = location.reload.bind(location)
Deno server
deno run --allow-net --allow-read --allow-run --allow-write --allow-env devserver.ts
Go server
go run devserver.go