Skip to content

Commit 22fded5

Browse files
authored
fix: silence output switching when coderd disconnects (#140)
1 parent 535cda4 commit 22fded5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/storage.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,10 @@ export class Storage {
310310

311311
public writeToCoderOutputChannel(message: string) {
312312
this.output.appendLine(message)
313-
this.output.show(true)
313+
// We don't want to focus on the output here, because the
314+
// Coder server is designed to restart gracefully for users
315+
// because of P2P connections, and we don't want to draw
316+
// attention to it.
314317
}
315318

316319
private async updateURL(): Promise<void> {

0 commit comments

Comments
 (0)