summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/spf13/viper/watch.go
blob: 1ce84eaf88c1fdf75fc7fc8e373159fda420424d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
//go:build darwin || dragonfly || freebsd || openbsd || linux || netbsd || solaris || windows
// +build darwin dragonfly freebsd openbsd linux netbsd solaris windows

package viper

import "github.com/fsnotify/fsnotify"

type watcher = fsnotify.Watcher

func newWatcher() (*watcher, error) {
	return fsnotify.NewWatcher()
}