Skip to content

Commit

Permalink
fix(gatsby): don't log FAST_DEV message for each worker (#32961)
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh committed Aug 30, 2021
1 parent b88b9d1 commit e547dc3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/gatsby/src/services/initialize.ts
Expand Up @@ -35,7 +35,10 @@ interface IPluginResolutionSSR extends IPluginResolution {
if (
process.env.gatsby_executing_command === `develop` &&
process.env.GATSBY_EXPERIMENTAL_FAST_DEV &&
!isCI()
!isCI() &&
// skip FAST_DEV handling in workers, all env vars will be handle
// by main process already and passed to worker
!process.env.GATSBY_WORKER_POOL_WORKER
) {
process.env.GATSBY_EXPERIMENTAL_DEV_SSR = `true`
process.env.PRESERVE_FILE_DOWNLOAD_CACHE = `true`
Expand Down

0 comments on commit e547dc3

Please sign in to comment.