You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which should show all nodes in dev, and filter out all nodes with draft set to true in production. There might be some caching issue (if you run build after develop, we will not rerun query atm). But if you use netlify (or other kinds of CI/CD) for production builds this should work
gatsbotbot
added
the
stale?
Issue that may be closed soon due to the original author not responding any more.
label
Apr 1, 2019
Is there a way to modify the GraphQL queries in a page component depending on whether the site is running in development or production mode?
The text was updated successfully, but these errors were encountered: