How to delete / flush files in .graphql-generated

By default, the schema is built during a dev/build not a flush operation. (You should see some output at the bottom of the dev/build response)

You can force the regeneration of the graphql specifically without a full dev/build with the dev/graphql/build operation.

Both of the above operations will need you to be an admin user (or be run from the command line) when the site is in Live mode.

1 Like