Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(gatsby): content sync debugging tweaks #34487

Merged
merged 3 commits into from
Jan 17, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add verbose instructions and a new env var for node manifest warnings
  • Loading branch information
TylerBarnes committed Jan 13, 2022
commit 2600ddd64d8886610f7b2c9bf2bf725fffa9ccf1
6 changes: 4 additions & 2 deletions packages/gatsby/src/utils/node-manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,9 @@ export async function processNodeManifests(): Promise<Map<
string,
string
> | null> {
const verboseLogs = process.env.gatsby_log_level === `verbose`
const verboseLogs =
process.env.gatsby_log_level === `verbose` ||
process.env.VERBOSE_NODE_MANIFEST === `true`

const startTime = Date.now()
const { nodeManifests } = store.getState()
Expand Down Expand Up @@ -397,7 +399,7 @@ export async function processNodeManifests(): Promise<Map<
...listOfUniqueErrorIds,
].join(`, `)}]. `
: ``) +
`Visit https://gatsby.dev/nodemanifest for more info on Node Manifests`
`To see full warning messages set process.env.VERBOSE_NODE_MANIFEST to "true".\nVisit https://gatsby.dev/nodemanifest for more info on Node Manifests.`
)

// clean up all pending manifests from the store
Expand Down