Open source changelog

Follow the evolution of Gatsby.

Subscribe to updates
 

Description

Duplicate/unnecessary output was being seen from the validate-engines worker. This PR gives each worker the ability to ignore output using forks silent option.

Example from validate-engines: const worker = new WorkerPool<typeof import("./child")>( require.resolve(`./child`), { numWorkers: 1, env: { // Do not "inherit" this env var for validation, // as otherwise validation will fail on any imports // that OpenTracing config might make GATSBY_OPEN_TRACING_CONFIG_FILE: ``, }, silent: true, } )

Documentation

Documented within the gatsby-worker's README.md.

[sc-39755]