From 7e56ef9a313d46b24b3f9dab06ab941f16d87069 Mon Sep 17 00:00:00 2001 From: Asher Date: Wed, 16 Oct 2024 10:30:00 -0800 Subject: [PATCH] Avoid initial notifications Wait until the next fetch, that way the connection has a chance to bump the activity and avoid a "this workspace will shut down" message that immediately becomes incorrect. Closes #383. --- src/workspaceMonitor.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/workspaceMonitor.ts b/src/workspaceMonitor.ts index d5205472..dfdb6196 100644 --- a/src/workspaceMonitor.ts +++ b/src/workspaceMonitor.ts @@ -79,7 +79,6 @@ export class WorkspaceMonitor implements vscode.Disposable { this.statusBarItem = statusBarItem this.update(workspace) // Set initial state. - this.maybeNotify(workspace) } /**