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

Commit 17863c5

Browse files
ejuorakannimer
authored andcommitted
fix(docz-core): add gatsby dev host arg (#1241)
1 parent 4fd4bb5 commit 17863c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ 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-
spawn(gatsbyPath, ['develop', '--port', `${args.port}`], {
38+
spawn(gatsbyPath, ['develop', '--host', `${args.host}`, '--port', `${args.port}`], {
3939
stdio: 'inherit',
4040
cwd: paths.docz,
4141
})

0 commit comments

Comments
 (0)