mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-08 02:49:12 +00:00
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>