canutin-desktop icon indicating copy to clipboard operation
canutin-desktop copied to clipboard

Check if the server is running before opening the browser

Open fmaclen opened this issue 3 years ago • 0 comments

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.

fmaclen avatar Jul 28 '22 02:07 fmaclen