I've been running the test suite (`./internal/engine` in particular) with `-count X` a lot recently to catch timing-related test failures. After running enough times, the tests start failing due to too many open files, so I did an audit and found a few places where files or readers weren't always being closed. |
||
|---|---|---|
| .. | ||
| notify.go | ||
| notify_test.go | ||
| paths.go | ||
| paths_test.go | ||
| temp.go | ||
| watcher_darwin.go | ||
| watcher_naive.go | ||
| watcher_naive_test.go | ||
| watcher_nonwin.go | ||
| watcher_windows.go | ||