Skip to content
Prev Previous commit
Next Next commit
Update workspace in commands
  • Loading branch information
code-asher committed Oct 14, 2024
commit 127e579063abae1ada875b7dfb92869a9cf7a076
1 change: 1 addition & 0 deletions src/remote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ export class Remote {
// Watch the workspace for changes.
const monitor = new WorkspaceMonitor(workspace, workspaceRestClient, this.storage)
disposables.push(monitor)
disposables.push(monitor.onChange.event((w) => (this.commands.workspace = w)))

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