docs: structure clean & showcase

This commit is contained in:
jean-emmanuel 2019-03-29 09:43:58 +01:00
parent f97a2cf0ba
commit e99b41d208
7 changed files with 22 additions and 12 deletions

View file

@ -34,7 +34,12 @@ class Ipc extends EventEmitter {
this.socket.send('["pong"]')
})
this.open()
try {
this.open()
} catch(e) {
console.warn('Could not open a WebSocket connection')
console.log(e)
}
}