blob: 09debb523e9358bc7c3fc376f73e6261018946d9 [file] [log] [blame]
// +build !darwin,!freebsd,!linux,!netbsd,!openbsd,!windows
package follow
// newFSWatcher starts and returns a new timer-based fsWatcher.
// filename specifies the file to watch.
func newFSWatcher(filename string) (*fsWatcher, error) {
watch := newFSTimedWatch(filename)
return newCustomFSWatcher(watch)
}