Skip to content

Commit

Permalink
fix(docz-core): add gatsby dev host arg (#1241)
Browse files Browse the repository at this point in the history
  • Loading branch information
ejuo authored and rakannimer committed Nov 8, 2019
1 parent 4fd4bb5 commit 17863c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ 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')
spawn(gatsbyPath, ['develop', '--port', `${args.port}`], {
spawn(gatsbyPath, ['develop', '--host', `${args.host}`, '--port', `${args.port}`], {
stdio: 'inherit',
cwd: paths.docz,
})
Expand Down

0 comments on commit 17863c5

Please sign in to comment.