In order to have a continuously updated staging environment. The server should listen to requests to close down and send the connected web apps to reconnect after a duration. This signal will be sent if all is okay on deploying a new version of the server or web client.
A duration of 2 minutes should be enough for the new server to deploy. The server will listen to a webhook address at /reset-dashy-server and send a websockets message that will initiate all the connected web-apps to refresh at the time-out.
In order to have a continuously updated staging environment. The server should listen to requests to close down and send the connected web apps to reconnect after a duration. This signal will be sent if all is okay on deploying a new version of the server or web client.
A duration of 2 minutes should be enough for the new server to deploy. The server will listen to a webhook address at /reset-dashy-server and send a websockets message that will initiate all the connected web-apps to refresh at the time-out.