Files
Jeremy RustonandClaude Fable 5 93abfab6d9 Shut down dynamic store watching after headless commands
The chokidar watchers and syncer poll timer kept the node event loop
alive forever after commands like --render and --build when a dynamic
store was configured. Add a startup module to the filesystem plugin
that runs after the commander completes: if no server was started
(detected via th-server-command-post-start), it closes the watchers,
stops advertising getUpdatedTiddlers so the syncer schedules no more
polls, and drains any pending sync tasks so saves still flush before
the process exits naturally.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 14:13:33 +01:00
..