gatsby-plugin-documents.graphql is missing during gatsby develop. It gets generated when I run gatsby build though. Downgrading gatsby to 2.24.8 does not fix this issue. I cloned the current master of gatby-plugin-typegen and added some reporter.verbose to gatby-node.js to see what's going on. That way I found out the trackedSource is empty during develop, causing the control flow to skip the conditional in line 175. The other files (gatsby-schema.graphql, gatsby-introspection.json and gatsby-types.ts) get generated though.
gatsby-plugin-documents.graphql
is missing duringgatsby develop
. It gets generated when I rungatsby build
though. Downgrading gatsby to 2.24.8 does not fix this issue. I cloned the current master ofgatby-plugin-typegen
and added somereporter.verbose
togatby-node.js
to see what's going on. That way I found out thetrackedSource
is empty during develop, causing the control flow to skip the conditional in line 175. The other files (gatsby-schema.graphql
,gatsby-introspection.json
andgatsby-types.ts
) get generated though.