Yeah the toc viewer is not "live". It has to be refreshed if you make changes to the book. I suppose I can have it update itself after some big operations, like renames and so on. It's a little slow to parse and build the toc for large books, but I guess I can have it only update if it is actually visible.
https://github.com/kovidgoyal/calibr...a82e8f5a5272fc