index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'public/index.html')
-rw-r--r-- | public/index.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/public/index.html b/public/index.html index 5badb7c..0307115 100644 --- a/public/index.html +++ b/public/index.html @@ -244,7 +244,9 @@ <input type="file" accept="image/svg+xml"/> <script> - new EventSource('/esbuild').addEventListener('change', () => location.reload()); + const source = new EventSource('/esbuild'); + source.addEventListener('change', () => location.reload()); + source.addEventListener('message', (e) => console.log(e)); </script> <script src="index.js"></script> <script src="soldier_record_block.js"></script> |