File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,12 @@ export class SettingsSync extends Disposable {
117
117
118
118
this . _register ( vscode . workspace . onDidChangeConfiguration ( async e => {
119
119
if ( e . affectsConfiguration ( 'gitpod.host' ) || e . affectsConfiguration ( 'configurationSync.store' ) ) {
120
+ if ( e . affectsConfiguration ( 'git' ) && e . affectsConfiguration ( 'javascript' ) ) {
121
+ // Seems onDidChangeConfiguration fires many times while resolving the remote (once with all settings),
122
+ // and because now we active the extension earlier with onResolveRemoteAuthority we get this false positive
123
+ // event, so ignore it if more settings are affected at the same time.
124
+ return ;
125
+ }
120
126
const gitpodHost = this . getServiceUrl ( ) . origin ;
121
127
const flow = { ...this . flow , gitpodHost } ;
122
128
const addedSyncProvider = await this . updateSyncContext ( ) ;
You can’t perform that action at this time.
0 commit comments