GoToSocial/vendor/github.com/spf13/viper/watch.go

13 lines
187 B
Go

//go:build !js
// +build !js
package viper
import "github.com/fsnotify/fsnotify"
type watcher = fsnotify.Watcher
func newWatcher() (*watcher, error) {
return fsnotify.NewWatcher()
}