| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | refactor(watch): extract watchdirs into a class | Lewis Russell | 4 days |
| Problem: watchdirs() keeps its state in large nested callbacks in _watch.lua, which makes its directory tracking logic harder to change. Solution: Move the backend into its own module and store its state in a WatchDirs instance. Split setup, event handling and cleanup into methods. Extend the existing test to cover cancellation while a directory stat is pending. AI-assisted | |||