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

Gatsby doesn't recognize Contentful changes #8

Open
paynerg2 opened this issue Jul 28, 2020 · 1 comment
Open

Gatsby doesn't recognize Contentful changes #8

paynerg2 opened this issue Jul 28, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@paynerg2
Copy link
Owner

Changes to content on Contentful are not reflected in the website during development unless the .cache folder is deleted beforehand.
Deleting the cache manually is not ideal, so a workaround should be found.
This seems like a problem that should be common enough to have some sort of patch out there.

@paynerg2 paynerg2 added the bug Something isn't working label Apr 28, 2021
@paynerg2
Copy link
Owner Author

This is a known bug which has been referenced in multiple issues on the gatsbyjs repo.

Documenting the workaround here for posterity.
(Based on this comment)

Run 'gatsby clean' before running 'gatsby develop' to delete the cache and force a refresh of Contentful data.

If the issue persists, another stop-gap measure to try would be to generate a new access token.

For now, this issue has to remain open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant