Skip to content

Commit ad4c22d

Browse files
committed
Update workspace in commands
1 parent 314abe4 commit ad4c22d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/remote.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ export class Remote {
375375
// Watch the workspace for changes.
376376
const monitor = new WorkspaceMonitor(workspace, workspaceRestClient, this.storage)
377377
disposables.push(monitor)
378+
disposables.push(monitor.onChange.event((w) => (this.commands.workspace = w)))
378379

379380
// Wait for the agent to connect.
380381
if (agent.status === "connecting") {

0 commit comments

Comments
 (0)