-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Description
Description
If you delete or rename markdown pages right now you can not get rid of them and errors pop up even if you restart gatsby develop. Only way to fix it appears to be to delete everything and start over (.cache and public folders).
Perhaps cleaning the cache should be done in some way? It still thinks these posts exist many hours after they are completely removed.
I had assumed maybe there was a gatsby clean or gatsby purge but I didn't see it so it would appear this would break forever for anyone that did't know they had to manually delete those folders on every change?
Steps to reproduce
1. Make Markdown File in gatsby-advanced-starter but any should work as the gatsby node config doesnt re-run and/or runs in cache (dont know really with the magic that happens)
2. Delete it
3.It still exists on reloads in the graphql database
...
I get these errors because it is thinking a bunch of files exist when I simply renamed or deleted them.
