Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Commit 6f5b4ee

Browse files
committed
fix(docz-core): be explicit about cli args
1 parent 385b006 commit 6f5b4ee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/docz-core/src/bundler/machine/services/exec-dev-command.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ export const execDevCommand = async ({ args }: ServerMachineCtx) => {
3535
// For monorepos that install dependencies higher in the fs tree
3636
const repoRootPath = get(args, 'repoRootPath', await findRootPath())
3737
const gatsbyPath = path.join(repoRootPath, 'node_modules/.bin/gatsby')
38-
const cliArgs = process.argv.slice(3)
38+
// const cliArgs = process.argv.slice(3)
3939
spawn(
4040
gatsbyPath,
41-
['develop', '--host', `${args.host}`, '--port', `${args.port}`, ...cliArgs],
41+
['develop', '--host', `${args.host}`, '--port', `${args.port}`],
4242
{
4343
stdio: 'inherit',
4444
cwd: paths.docz,

0 commit comments

Comments
 (0)