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): update async requires in dev loader #32189

Merged
merged 3 commits into from Jul 1, 2021

Conversation

vladar
Copy link
Contributor

@vladar vladar commented Jul 1, 2021

Description

This PR fixes a bug where a newly created page cannot be visited via client-side navigation because of stale async-requires in dev loader. It is reproducible with this tutorial step: https://www.gatsbyjs.com/docs/tutorial/part-4/#task-create-a-new-blog-page

The new test in this PR demonstrates the failing scenario.

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

@pieh pieh left a comment

Choose a reason for hiding this comment

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

Yes! Thank you!

@vladar vladar marked this pull request as ready for review July 1, 2021 14:38
@vladar vladar added the bot: merge on green Gatsbot will merge these PRs automatically when all tests passes label Jul 1, 2021
@gatsbybot gatsbybot merged commit f4c5c48 into master Jul 1, 2021
@gatsbybot gatsbybot deleted the vladar/fix-dev-async-requires branch July 1, 2021 14:38
@vladar vladar added this to To cherry-pick in V3 Release Hotfixes via automation Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes
Projects
No open projects
V3 Release Hotfixes
To cherry-pick
Development

Successfully merging this pull request may close these issues.

None yet

3 participants