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>