make init-backend
should only be run once (or after backend needs reset) so including it into make build
would have made it more complex than necessary
watch
instead of build
make build
or make watch
should be enough
@iFlameing About navigation and breadcrumbs. In Plone REST API they are called "expansions". They can be called separately or they can be fetched with the main page results. So, they exists as "expansions" to allow optimization of queries.
When ever a page contents are fetched, I recall, the plugin fetches also navigation and breadcrumb extensions (to allow extra requests). But on subsequent runs, when a folder has been modified, we also need to update breadcrumbs and navigation of its children (because the title of the page may have been changed and might affect those). In this case, we only call navigation and breadcrumbs endpoints directly. (Calling those two separately should be faster than calling the main page with the expansions. That would be only one request, but it could be slower than those two smaller ones combined.)
sourceNodes
) to make them support similar lazy updates from websocket as gatsby-source-filesystem supports updates from filesystem events.