(filename: string)
| 24 | const DEBOUNCE_MS = 300; |
| 25 | |
| 26 | export function shouldWatchProjectFile(filename: string): boolean { |
| 27 | if (!filename) return false; |
| 28 | const parts = filename.split(/[\\/]+/); |
| 29 | return !parts.some((part) => WATCHER_EXCLUDED_DIRS.has(part)); |
| 30 | } |
| 31 | |
| 32 | export function createProjectWatcher(projectDir: string): ProjectWatcher { |
| 33 | const listeners = new Set<FileChangeListener>(); |
no outgoing calls
no test coverage detected