mdopen icon indicating copy to clipboard operation
mdopen copied to clipboard

send notification to user tabs about server shutdown

Open cospectrum opened this issue 9 months ago • 1 comments

Relates: https://github.com/immanelg/mdopen/issues/22

Send notification to user tabs on server shutdown (ctrl + c signal)

cospectrum avatar Mar 31 '25 15:03 cospectrum

  1. If window.close() doesn't work, maybe give up and ditch that idea then? It wouldn't be worth it to spend big effort on this
  2. It would be reasonable to disable this behaviour by default because it's not expected
  3. It should not be behind the live-reload flag
  4. WebSocket implementation changes are good and can be merged separately, but maybe this should all be rewritten with an async http library so it doesn't matter anyway

immanelg avatar Apr 01 '25 15:04 immanelg