From 513eb892a1dac5e774bfae25dcefc15cd660499b Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Tue, 3 Oct 2023 09:12:13 -0500 Subject: [PATCH] fix: silence output switching when coderd disconnects --- src/storage.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/storage.ts b/src/storage.ts index e568e5d7..8bd2ceb8 100644 --- a/src/storage.ts +++ b/src/storage.ts @@ -310,7 +310,10 @@ export class Storage { public writeToCoderOutputChannel(message: string) { this.output.appendLine(message) - this.output.show(true) + // We don't want to focus on the output here, because the + // Coder server is designed to restart gracefully for users + // because of P2P connections, and we don't want to draw + // attention to it. } private async updateURL(): Promise {