Trigger configuration update when loaded
This commit is contained in:
parent
c3a38e3fea
commit
4d576ab4d4
@ -25,7 +25,7 @@ commander.version(process.env.VERSION || "development")
|
|||||||
.option("--data-dir <value>", "DEPRECATED: Use '--user-data-dir' instead. Customize where user-data is stored.")
|
.option("--data-dir <value>", "DEPRECATED: Use '--user-data-dir' instead. Customize where user-data is stored.")
|
||||||
.option("-h, --host <value>", "Customize the hostname.", "0.0.0.0")
|
.option("-h, --host <value>", "Customize the hostname.", "0.0.0.0")
|
||||||
.option("-o, --open", "Open in the browser on startup.", false)
|
.option("-o, --open", "Open in the browser on startup.", false)
|
||||||
.option("-p, --port <number>", "Port to bind on.", parseInt(process.env.PORT, 10) || 8443)
|
.option("-p, --port <number>", "Port to bind on.", parseInt(process.env.PORT!, 10) || 8443)
|
||||||
.option("-N, --no-auth", "Start without requiring authentication.", undefined)
|
.option("-N, --no-auth", "Start without requiring authentication.", undefined)
|
||||||
.option("-H, --allow-http", "Allow http connections.", false)
|
.option("-H, --allow-http", "Allow http connections.", false)
|
||||||
.option("-P, --password <value>", "Specify a password for authentication.")
|
.option("-P, --password <value>", "Specify a password for authentication.")
|
||||||
|
@ -98,6 +98,14 @@ index f68ae90..d6b9ea7 100644
|
|||||||
@@ -24 +24 @@ import { disposableTimeout } from 'vs/base/common/async';
|
@@ -24 +24 @@ import { disposableTimeout } from 'vs/base/common/async';
|
||||||
-import { isMacintosh } from 'vs/base/common/platform';
|
-import { isMacintosh } from 'vs/base/common/platform';
|
||||||
+import { isMacintosh } from 'vs/base/browser/browser';
|
+import { isMacintosh } from 'vs/base/browser/browser';
|
||||||
|
diff --git a/src/vs/base/node/config.ts b/src/vs/base/node/config.ts
|
||||||
|
index 5ef2193..a232b6c 100644
|
||||||
|
--- a/src/vs/base/node/config.ts
|
||||||
|
+++ b/src/vs/base/node/config.ts
|
||||||
|
@@ -79,0 +80,3 @@ export class ConfigWatcher<T> implements IConfigWatcher<T>, IDisposable {
|
||||||
|
+ } else {
|
||||||
|
+ this.cache = config; // update config
|
||||||
|
+ this._onDidUpdateConfiguration.fire({ config });
|
||||||
diff --git a/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts b/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts
|
diff --git a/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts b/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts
|
||||||
index 74148e4..041205b 100644
|
index 74148e4..041205b 100644
|
||||||
--- a/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts
|
--- a/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts
|
||||||
|
Reference in New Issue
Block a user