Skip to content

Commit ca8e360

Browse files
committed
Don't exit on errors as during development, empty/incomplete page components are common fixes #4027
1 parent 80ea5e8 commit ca8e360

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/gatsby/src/redux/actions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ actions.createPage = (page: PageInput, plugin?: Plugin, traceId?: string) => {
155155
`See the documentation for createPage https://www.gatsbyjs.org/docs/bound-action-creators/#createPage`
156156
)
157157
console.log(``)
158-
process.exit(1)
158+
// TODO do actually quit during builds.
159+
// process.exit(1)
159160
}
160161

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

0 commit comments

Comments
 (0)