about summary refs log tree commit diff stats
path: root/templates/dev.html
blob: 0ca383e827908f10bd37cee67e2980a26415dd63 (plain)
1
2
3
4
5
6
7
8
<body>
  <script defer>
    new EventSource("/_/reload").onmessage = event => {
      console.log("got message", event)
      window.location.reload()
    };
  </script>
</body>