We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab7a6e9 commit 02c8e63Copy full SHA for 02c8e63
1 file changed
pkg/watch/notify.go
@@ -17,15 +17,11 @@
17
package watch
18
19
import (
20
- "errors"
21
"expvar"
22
"fmt"
23
"os"
24
"path/filepath"
25
- "runtime"
26
"strconv"
27
-
28
- "github.com/tilt-dev/fsnotify"
29
)
30
31
var numberOfWatches = expvar.NewInt("watch.naive.numberOfWatches")
@@ -103,10 +99,6 @@ func DesiredWindowsBufferSize() int {
103
99
return defaultBufferSize
104
100
}
105
101
106
-func IsWindowsShortReadError(err error) bool {
107
- return runtime.GOOS == "windows" && !errors.Is(err, fsnotify.ErrEventOverflow)
108
-}
109
110
102
type CompositePathMatcher struct {
111
Matchers []PathMatcher
112
0 commit comments