We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79358b5 commit dc20601Copy full SHA for dc20601
src/socket-daemon.js
@@ -167,7 +167,7 @@ export default class SocketDaemon extends Daemon {
167
_wsConnect() {
168
const wsProtocol = this.selectedProtocol === PROTOCOL.HTTPS ? 'wss' : 'ws';
169
const address = this.agentInfo[wsProtocol];
170
- this.socket = io(address, { reconnection: false, forceNew: true });
+ this.socket = io(address, { forceNew: true });
171
172
this.socket.on('connect', () => {
173
// On connect download windows drivers which are indispensable for detection of boards
@@ -188,6 +188,7 @@ export default class SocketDaemon extends Daemon {
188
handleAppMessage(message) {
189
// Result of a list command
190
if (message.Ports) {
191
+ this.socket.emit('error', 'foo');
192
this.handleListMessage(message);
193
}
194
// Serial monitor message
0 commit comments