summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/spf13/viper/watch.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/spf13/viper/watch.go')
-rw-r--r--vendor/github.com/spf13/viper/watch.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/spf13/viper/watch.go b/vendor/github.com/spf13/viper/watch.go
new file mode 100644
index 00000000..c433a8fa
--- /dev/null
+++ b/vendor/github.com/spf13/viper/watch.go
@@ -0,0 +1,11 @@
+// +build !js
+
+package viper
+
+import "github.com/fsnotify/fsnotify"
+
+type watcher = fsnotify.Watcher
+
+func newWatcher() (*watcher, error) {
+ return fsnotify.NewWatcher()
+}