* True once live watching has permanently degraded (OS watch-resource * exhaustion, or a write lock held past the retry budget) and auto-sync is * disabled until the next watch call. Distinct from `!isWatching()`: * a stopped/never-started watcher is inactive but NOT degraded. MCP t
()
| 1035 | * `getPendingFiles()` goes empty once watching stops (#876). |
| 1036 | */ |
| 1037 | isWatcherDegraded(): boolean { |
| 1038 | return this.watcher?.isDegraded() ?? false; |
| 1039 | } |
| 1040 | |
| 1041 | /** The reason live watching degraded, or null if it is healthy (#876). */ |
| 1042 | getWatcherDegradedReason(): string | null { |