File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -107,12 +107,12 @@ export class ConnectInNewWindowCommand implements Command {
107
107
// Start workspace automatically
108
108
await this . sessionService . getAPI ( ) . startWorkspace ( wsData ! . id ) ;
109
109
110
+ vscode . commands . executeCommand ( 'gitpod.workspaces.refresh' ) ;
111
+
110
112
if ( cancelToken . isCancellationRequested ) {
111
113
return ;
112
114
}
113
115
114
- vscode . commands . executeCommand ( 'gitpod.workspaces.refresh' ) ;
115
-
116
116
await raceCancellationError ( eventToPromise ( wsState . onWorkspaceRunning ) , cancelToken ) ;
117
117
}
118
118
@@ -199,12 +199,12 @@ export class ConnectInCurrentWindowCommand implements Command {
199
199
// Start workspace automatically
200
200
await this . sessionService . getAPI ( ) . startWorkspace ( wsData ! . id ) ;
201
201
202
+ vscode . commands . executeCommand ( 'gitpod.workspaces.refresh' ) ;
203
+
202
204
if ( cancelToken . isCancellationRequested ) {
203
205
return ;
204
206
}
205
207
206
- vscode . commands . executeCommand ( 'gitpod.workspaces.refresh' ) ;
207
-
208
208
await raceCancellationError ( eventToPromise ( wsState . onWorkspaceRunning ) , cancelToken ) ;
209
209
}
210
210
You can’t perform that action at this time.
0 commit comments