Listen to the process to detect shutdowns
Issue #545
resolved
With the bot running, the UI should be aware of the underlying process and when killed/stopped also adapt the UI
Comments (8)
-
-
reporter I was thinking the user killing the underlying process via kill, or for instance from the IDE.
By adapt I mean that in the scenario above the UI currently still see the bot as running and orders active, which could be misleading
-
I see. good point.
-
If user starts the UI and shutdown the process the page should return 404 on reload. solution would be: if a JS request fails we use
close();
which closes the tab, or we show a message page. -
- marked as enhancement
-
- changed status to resolved
-
solved. if server is shutdown we display a message on the client
-
reporter - changed milestone to 0.3.0 - UI
- Log in to comment
what do you mean by adapt? the shutdownhook should work as before AFAIK. the stop button shuts down the bot, not the UI server.