fix: write echo start on starting

This commit is contained in:
Justin Lin committed 2025-05-05 19:55:40 +08:00
1 parent 156abc044a
commit 2f7845e63e
3 files changed
+38 -33

No files matched your search

+1 -3
View File
@@ -23,11 +23,9 @@ class SocketWrapper {
this.socket.on('connect', () => {
console.log('Socket connected to session', session._id)
})
this.socket.once('terminal', () => {
resolve()
})
this.socket.on('connect_error', reject)
this.bindListeners()
})