diff --git a/src/launcher/start.js b/src/launcher/start.js index c98a0ad..abcd491 100644 --- a/src/launcher/start.js +++ b/src/launcher/start.js @@ -12,7 +12,7 @@ export default async (browserPath, args, transport, extra) => { const proc = spawn(browserPath, [ transport === 'stdio' ? `--remote-debugging-pipe` : `--remote-debugging-port=${port}`, - ...args + ...args.filter(x => x) ].filter(x => x), { detached: false, stdio: ['ignore', 'pipe', 'pipe', 'pipe', 'pipe']