Skip to content

Commit 952d3f5

Browse files
committed
Refresh workspaces when logging in and out
1 parent 5260523 commit 952d3f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/commands.ts

+2
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export class Commands {
108108
vscode.commands.executeCommand("coder.open")
109109
}
110110
})
111+
vscode.commands.executeCommand("coder.refreshWorkspaces")
111112
} catch (error) {
112113
vscode.window.showErrorMessage("Failed to authenticate with Coder: " + error)
113114
}
@@ -122,6 +123,7 @@ export class Commands {
122123
vscode.commands.executeCommand("coder.login")
123124
}
124125
})
126+
vscode.commands.executeCommand("coder.refreshWorkspaces")
125127
}
126128

127129
public async createWorkspace(): Promise<void> {

0 commit comments

Comments
 (0)