The theme file watcher was keeping the Node.js process alive indefinitely even in print mode where hot-reload is unnecessary. This simple fix calls stopThemeWatcher() and process.exit(0) after print mode completes. - Added stopThemeWatcher() call after runPrintMode() completes - Added process.exit(0) to ensure clean process termination - Imported stopThemeWatcher from theme module This is a minimal fix that addresses the symptom (process hanging) without changing the theme initialization logic.
15 KiB
15 KiB