vendor/github.com/spf13/viper/watch.go
changeset 256 6d9efbef00a9
child 260 445e01aede7e
equal deleted inserted replaced
255:4f153a23adab 256:6d9efbef00a9
       
     1 // +build !js
       
     2 
       
     3 package viper
       
     4 
       
     5 import "github.com/fsnotify/fsnotify"
       
     6 
       
     7 type watcher = fsnotify.Watcher
       
     8 
       
     9 func newWatcher() (*watcher, error) {
       
    10 	return fsnotify.NewWatcher()
       
    11 }