diff --git a/packages/gatsby/src/redux/actions.js b/packages/gatsby/src/redux/actions.js index 55050dcc79806..3fc1475f729e5 100644 --- a/packages/gatsby/src/redux/actions.js +++ b/packages/gatsby/src/redux/actions.js @@ -232,15 +232,10 @@ actions.createPage = (page: PageInput, plugin?: Plugin, traceId?: string) => { `You have an empty file in the "src/pages" directory at "${relativePath}". Please remove it or make it a valid component` ) console.log(``) - process.exit(1) + // TODO actually do die during builds. + // process.exit(1) } - console.log(``) - console.log(``) - console.log( - `The page component at "${relativePath}" didn't pass validation` - ) - if (!includesDefaultExport) { console.log(``) console.log( @@ -249,7 +244,8 @@ actions.createPage = (page: PageInput, plugin?: Plugin, traceId?: string) => { console.log(``) } - process.exit(1) + // TODO actually do die during builds. + // process.exit(1) } }