Skip to content

Commit

Permalink
Don't exit on errors as during development, empty/incomplete page com…
Browse files Browse the repository at this point in the history
…ponents are common fixes #4027
  • Loading branch information
KyleAMathews committed Feb 14, 2018
1 parent 80ea5e8 commit ca8e360
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/gatsby/src/redux/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ actions.createPage = (page: PageInput, plugin?: Plugin, traceId?: string) => {
`See the documentation for createPage https://www.gatsbyjs.org/docs/bound-action-creators/#createPage`
)
console.log(``)
process.exit(1)
// TODO do actually quit during builds.
// process.exit(1)
}

let jsonName = `${_.kebabCase(page.path)}.json`
Expand Down

0 comments on commit ca8e360

Please sign in to comment.