Skip to content

Commit d5f525f

Browse files
committed
Update workspace in commands
1 parent 5609d21 commit d5f525f

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)