Skip to content

Commit

Permalink
fix(docz-core): be explicit about cli args
Browse files Browse the repository at this point in the history
  • Loading branch information
rakannimer committed Feb 7, 2020
1 parent 385b006 commit 6f5b4ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6f5b4ee

Please sign in to comment.