Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/code-web.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/scripts/code-web.js b/scripts/code-web.js
index f12e6b9d34e..52c60dce5c6 100644
--- a/scripts/code-web.js
+++ b/scripts/code-web.js
@@ -34,6 +34,7 @@ async function main() {
'host',
'port',
'extensionPath',
+ 'browser',
'browserType'
],
});
@@ -66,15 +67,11 @@ async function main() {
}
let openSystemBrowser = false;
- if (!args['browserType']) {
- serverArgs.push('--browserType', 'none');
+ if (!args['browser'] && !args['browserType']) {
+ serverArgs.push('--browser', 'none');
openSystemBrowser = true;
}
- if (!args['verbose'] && args['hideServerLog'] === undefined) {
- serverArgs.push('--hideServerLog');
- }
-
serverArgs.push('--sourcesPath', APP_ROOT);
serverArgs.push(...process.argv.slice(2).filter(v => v !== '--playground'));