all repos — website @ a238c7e0889cbe7dfaa1a700dea30686a4e2139a

My website

templates/dev.html (view raw)

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>