canutin-desktop
canutin-desktop copied to clipboard
Check if the server is running before opening the browser
The current implementation sets a timeout delay but ideally we should check if the server is indeed running before it opens the url in the user's browser.
Might be a good idea to also update the way toggleServer() sets the this.isServerRunning prop.
Perhaps we could try tcp-port-used to check if the port is used.