@1agh/maude 1.6.2 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -89,6 +89,12 @@ export function createGitLifecycle(ctx: Context, registry: Registry): GitLifecyc
89
89
  // filesystems / git implementations fire spurious events on packfile
90
90
  // operations too — the readHead diff above filters noise.
91
91
  watcher = watch(headPath, { persistent: false }, () => schedule());
92
+ // An 'error' with no listener is thrown and exits the studio (the
93
+ // 2026-10-02 cell crash loop came from a sibling watcher). Log and stop.
94
+ watcher.on('error', (err) => {
95
+ console.warn('[git-lifecycle] .git/HEAD watcher error — stopped:', err.message);
96
+ watcher?.close();
97
+ });
92
98
  } catch (err) {
93
99
  console.warn(
94
100
  '[git-lifecycle] failed to watch .git/HEAD:',