Skip to content

Commit

Permalink
fix: silence output switching when coderd disconnects (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecarbs authored Oct 4, 2023
1 parent 535cda4 commit 22fded5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> {
Expand Down

0 comments on commit 22fded5

Please sign in to comment.