diff options
author | Martin Aeschlimann <martinae@microsoft.com> | 2022-02-04 16:58:04 +0300 |
---|---|---|
committer | Martin Aeschlimann <martinae@microsoft.com> | 2022-02-04 16:58:10 +0300 |
commit | 4b5fee322f2dc711479f4c42145c91bbb5551c94 (patch) | |
tree | aa89adf1726d61a52c6df872e295037f46dbe59a | |
parent | 33bca7f23ebabe6d0387e7b8664c2ed3d57491ac (diff) |
code web script refine playground handling
-rw-r--r-- | scripts/code-web.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/code-web.js b/scripts/code-web.js index ceee8aa4283..a232c2b3eb9 100644 --- a/scripts/code-web.js +++ b/scripts/code-web.js @@ -60,7 +60,7 @@ async function main() { serverArgs.push('--port', PORT); } - if (args['playground'] === true || (args['playground'] !== false && args['_'].length === 0)) { + if (args['playground'] === true || (args['playground'] === undefined && args['_'].length === 0 && !args['--folder-uri'])) { serverArgs.push('--extensionPath', WEB_DEV_EXTENSIONS_ROOT); serverArgs.push('--folder-uri', 'memfs:///sample-folder'); await ensureWebDevExtensions(args['verbose']); |