diff options
Diffstat (limited to 'templates/dev.html')
-rw-r--r-- | templates/dev.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/dev.html b/templates/dev.html new file mode 100644 index 0000000..0ca383e --- /dev/null +++ b/templates/dev.html @@ -0,0 +1,8 @@ +<body> + <script defer> + new EventSource("/_/reload").onmessage = event => { + console.log("got message", event) + window.location.reload() + }; + </script> +</body> |