only call yarn gulp node when needed

This commit is contained in:
Martin Aeschlimann
2022-01-21 15:15:12 +01:00
parent 3640c1a425
commit d46ed36951
5 changed files with 24 additions and 11 deletions

View File

@@ -31,6 +31,7 @@ if (args.help) {
'./scripts/code-server.sh|bat [options]\n' +
' --launch Opens a browser'
);
// more help options will be printed by startServer
}
const serverArgs = process.argv.slice(2).filter(v => v !== '--launch');