File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/gatsby/src/bootstrap Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -331,6 +331,12 @@ module.exports = async (args: BootstrapArgs) => {
331331 await apiRunnerNode ( `onPreExtractQueries` )
332332 activity . end ( )
333333
334+ // Update Schema for SitePage.
335+ activity = report . activityTimer ( `update schema` )
336+ activity . start ( )
337+ await require ( `../schema` ) ( )
338+ activity . end ( )
339+
334340 // Extract queries
335341 activity = report . activityTimer ( `extract queries from components` )
336342 activity . start ( )
@@ -360,12 +366,6 @@ module.exports = async (args: BootstrapArgs) => {
360366 await writeRedirects ( )
361367 activity . end ( )
362368
363- // Update Schema for SitePage.
364- activity = report . activityTimer ( `update schema` )
365- activity . start ( )
366- await require ( `../schema` ) ( )
367- activity . end ( )
368-
369369 const checkJobsDone = _ . debounce ( resolve => {
370370 const state = store . getState ( )
371371 if ( state . jobs . active . length === 0 ) {
You can’t perform that action at this time.
0 commit comments