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

Delete the git cache when the main gatsby cache is cleared. #51

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

darthsteven
Copy link
Collaborator

This is related to the discussion in #46 whereby in Gatsby 3 and later, changing the plugin's config doesn't actually remove the cached git repo, which was a central assumption of this plugin.

We are restoring that functionality here, and listening for the DELETE_CACHE event and then removing the directory manually.

@darthsteven
Copy link
Collaborator Author

Ah, apologies, I missed that the code was being squashed when merged, boo!

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.

1 participant