aboutsummaryrefslogtreecommitdiffstats
path: root/watcher/watcher_notlinux.go
diff options
context:
space:
mode:
Diffstat (limited to 'watcher/watcher_notlinux.go')
-rw-r--r--watcher/watcher_notlinux.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/watcher/watcher_notlinux.go b/watcher/watcher_notlinux.go
new file mode 100644
index 0000000..efd7ea8
--- /dev/null
+++ b/watcher/watcher_notlinux.go
@@ -0,0 +1,7 @@
+//go:build !linux
+
+package watcher
+
+import "github.com/rjeczalik/notify"
+
+const notifyFlag = notify.Write | notify.Rename