mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
code web script refine playground handling
This commit is contained in:
parent
33bca7f23e
commit
4b5fee322f
|
@ -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']);
|
||||
|
|
Loading…
Reference in a new issue