File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ export default class SocketDaemon extends Daemon {
167167 _wsConnect ( ) {
168168 const wsProtocol = this . selectedProtocol === PROTOCOL . HTTPS ? 'wss' : 'ws' ;
169169 const address = this . agentInfo [ wsProtocol ] ;
170- this . socket = io ( address , { reconnection : false , forceNew : true } ) ;
170+ this . socket = io ( address , { forceNew : true } ) ;
171171
172172 this . socket . on ( 'connect' , ( ) => {
173173 // On connect download windows drivers which are indispensable for detection of boards
@@ -188,6 +188,7 @@ export default class SocketDaemon extends Daemon {
188188 handleAppMessage ( message ) {
189189 // Result of a list command
190190 if ( message . Ports ) {
191+ this . socket . emit ( 'error' , 'foo' ) ;
191192 this . handleListMessage ( message ) ;
192193 }
193194 // Serial monitor message
You can’t perform that action at this time.
0 commit comments