feat(cli): add coder open vscode (#11191)

Fixes #7667
This commit is contained in:
Mathias Fredriksson
2024-01-02 20:46:18 +02:00
committed by GitHub
parent 099be249a7
commit df3c310379
26 changed files with 1123 additions and 292 deletions
+5 -1
View File
@@ -220,7 +220,11 @@ func (c *Client) WatchWorkspace(ctx context.Context, id uuid.UUID) (<-chan Works
if err != nil {
return
}
wc <- ws
select {
case <-ctx.Done():
return
case wc <- ws:
}
}
}
}()