Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions pkg/watch/notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,11 @@
package watch

import (
"errors"
"expvar"
"fmt"
"os"
"path/filepath"
"runtime"
"strconv"

"github.com/tilt-dev/fsnotify"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I started looking at this to see if we still needed this fork; some of the reasons it was needed for were no longer there (upstream merged some fixes), but I don't know where I left off 😂

)

var numberOfWatches = expvar.NewInt("watch.naive.numberOfWatches")
Expand Down Expand Up @@ -103,10 +99,6 @@ func DesiredWindowsBufferSize() int {
return defaultBufferSize
}

func IsWindowsShortReadError(err error) bool {
return runtime.GOOS == "windows" && !errors.Is(err, fsnotify.ErrEventOverflow)
}

type CompositePathMatcher struct {
Matchers []PathMatcher
}
Expand Down
Loading