refresh and regenerate graph.json during development based on content structure changes #549
Closed
1 of 5 tasks
Labels
Milestone
Type of Change
Summary
When the development server is initially started, it generates a graph.json initially as part of initializing a
compilation
object. However, if you say change your directory structure or update frontmatter, you will have to restart the GraphQL server to see those updated changes in the client side.Details
Would be good to find a way to be able to regenerate graph.json, I suppose as part of plugin-standard-html? The thought being that if any HTML / markdown changes, regenerate the whole graph.
A more advanced solution might be able to only update the part that changed, but that would be for bonus and could be a post 1.0 issue.
The text was updated successfully, but these errors were encountered: