From badd46659c439121024c867d7811180b7265c8d6 Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Wed, 9 Dec 2020 10:39:48 +0100 Subject: [PATCH] chore(query-on-demand): prerun query for homepage for initial run (#28538) --- packages/gatsby/src/commands/develop-process.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/gatsby/src/commands/develop-process.ts b/packages/gatsby/src/commands/develop-process.ts index 82eb72e1d5327..03abfb112024b 100644 --- a/packages/gatsby/src/commands/develop-process.ts +++ b/packages/gatsby/src/commands/develop-process.ts @@ -132,6 +132,7 @@ module.exports = async (program: IDevelopArgs): Promise => { program, parentSpan, app, + pendingQueryRuns: new Set([`/`]), }) const service = interpret(machine)