While developing I use
curl -X POST http://localhost:8000/__refresh in order to fetch new content if I have updated in Prismic CMS.
This saves time since I don't have to rungatsby build`.
When I add a new field to a page or a slice. I have to execute
gatsby build and
gatsby develop. Both take time to execute (a couple of minutes). This has to be done so that the field will become available in GraphQL and I could query it. This costs time…
I wonder if there is a way to set up development workflow in a similar way as updating content when it comes to adding fields to CMS so that I don’t have to waste time on rebuilding the website. Do you have any recommendations on how to deal with this?