Since the data is loaded manually, and since we deactivated expensive file hashes, there is likely no notification when the file changes.
Since this uses a server extension, we can add another special route to listen for file changes and reset the DataModel.
Project like watchfiles can help to efficiently detect/listen for changes.
On the client-side a websocket connection or polling on this route will let the frontend know when to update.
Since the data is loaded manually, and since we deactivated expensive file hashes, there is likely no notification when the file changes.
Since this uses a server extension, we can add another special route to listen for file changes and reset the
DataModel.Project like watchfiles can help to efficiently detect/listen for changes.
On the client-side a websocket connection or polling on this route will let the frontend know when to update.