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

fix(gatsby): don't re-write chunk-map.json and webpack.stats.json without changes #33396

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

pieh
Copy link
Contributor

@pieh pieh commented Oct 1, 2021

Description

In watch mode rewriting those files without changes causes unnecesary recompilations, this just prevents them if nothing actually changed

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Oct 1, 2021
Copy link
Contributor

@wardpeet wardpeet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My hero!

Copy link
Contributor

@KyleAMathews KyleAMathews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

@vladar vladar removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Oct 1, 2021
@wardpeet wardpeet merged commit 64c4b70 into master Oct 4, 2021
@wardpeet wardpeet deleted the dont-write-out-chunk-map-if-didnt-change branch October 4, 2021 09:23
@cassilup
Copy link

cassilup commented Oct 5, 2021

@wardpeet, I noticed that you merged this PR with 3 checks failing.
2 of these checks (e2e_tests_contentful and e2e_tests_pnp) are failing on #33416 and #33431 as well and we're trying to figure out why.

I'm trying to be of help and this seemed like a first flag along the way. :)

Cc: @raresportan

wardpeet pushed a commit to herecydev/gatsby that referenced this pull request Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants