From 6f5b4ee75d9f32e2f01b6fc964ff86bf5c19c8d5 Mon Sep 17 00:00:00 2001 From: rakannimer Date: Fri, 7 Feb 2020 16:35:24 +0200 Subject: [PATCH] fix(docz-core): be explicit about cli args --- .../src/bundler/machine/services/exec-dev-command.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/docz-core/src/bundler/machine/services/exec-dev-command.ts b/core/docz-core/src/bundler/machine/services/exec-dev-command.ts index ca474f073..0fbab28e0 100644 --- a/core/docz-core/src/bundler/machine/services/exec-dev-command.ts +++ b/core/docz-core/src/bundler/machine/services/exec-dev-command.ts @@ -35,10 +35,10 @@ export const execDevCommand = async ({ args }: ServerMachineCtx) => { // For monorepos that install dependencies higher in the fs tree const repoRootPath = get(args, 'repoRootPath', await findRootPath()) const gatsbyPath = path.join(repoRootPath, 'node_modules/.bin/gatsby') - const cliArgs = process.argv.slice(3) + // const cliArgs = process.argv.slice(3) spawn( gatsbyPath, - ['develop', '--host', `${args.host}`, '--port', `${args.port}`, ...cliArgs], + ['develop', '--host', `${args.host}`, '--port', `${args.port}`], { stdio: 'inherit', cwd: paths.docz,