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: ensure cache/json exists #124

Merged
merged 2 commits into from
Sep 21, 2021
Merged

fix: ensure cache/json exists #124

merged 2 commits into from
Sep 21, 2021

Conversation

ascorbic
Copy link
Contributor

A bug in Gatsby deletes all HTML and CSS if .cache/json is missing. As our cache implementation doesn't restore empty directories, this happens a lot. This wortks around the bug by creating the dir before builds.

@ascorbic ascorbic requested a review from a team September 21, 2021 08:34
@ascorbic ascorbic merged commit 8e8247b into main Sep 21, 2021
@ascorbic ascorbic deleted the fix/cache-json-bug branch September 21, 2021 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants