Skip to content

0xhjohnson

Fix Deleted Gatsby Post Still Showing

Gatsby, Fix1 min read

Issue

Ran into an issue the other day where deleting a Gatsby post did not remove it from my blog. Upon inspection, I noticed that the .cache folder had a reference to the deleted post.

Fix

Just need to delete the .cache folder. For more insight have a look at this Github issue. Gatsby will recreate it on the next gatsby build or gatsby develop command.

From your project folder run:

rm -r ./.cache/*