diff options
-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']); |