From ca8e3608942a9060e7c0d08283a66f83daf75082 Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Wed, 14 Feb 2018 11:47:04 -0800 Subject: [PATCH] Don't exit on errors as during development, empty/incomplete page components are common fixes #4027 --- packages/gatsby/src/redux/actions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/gatsby/src/redux/actions.js b/packages/gatsby/src/redux/actions.js index 55050dcc79806..9a702aa935021 100644 --- a/packages/gatsby/src/redux/actions.js +++ b/packages/gatsby/src/redux/actions.js @@ -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`