diff --git a/packages/net/client/socket.js b/packages/net/client/socket.js index ab1aa35..b24beaa 100644 --- a/packages/net/client/socket.js +++ b/packages/net/client/socket.js @@ -101,7 +101,8 @@ export class SocketClient extends decorate(class {}) { const tryToReconnect = () => { debug('try to reconnect'); if (this.isConnected) { - debug('is connected'); + debug('reconnected'); + this.emit('reconnect'); this.isReconnecting = false; return; }