We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 358d4d0 commit af8817bCopy full SHA for af8817b
src/api/coderApi.ts
@@ -174,7 +174,7 @@ export class CoderApi extends Api implements vscode.Disposable {
174
}));
175
return watchConfigurationChanges(settings, () => {
176
const socketsToReconnect = [...this.reconnectingSockets].filter(
177
- (socket) => socket.state !== ConnectionState.CONNECTED,
+ (socket) => socket.state === ConnectionState.DISCONNECTED,
178
);
179
if (socketsToReconnect.length > 0) {
180
this.output.info(
0 commit comments