We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 135f644 commit 22c4502Copy full SHA for 22c4502
watcher/watcher_linux.go
@@ -5,4 +5,4 @@ package watcher
5
import "github.com/rjeczalik/notify"
6
7
// Watch IN_CLOSE_WRITE events on Linux to reduce the number of events to process
8
-const notifyFlag = notify.InCloseWrite
+const notifyFlag = notify.InCloseWrite | notify.InMovedTo
watcher/watcher_notlinux.go
@@ -4,4 +4,4 @@ package watcher
4
-const notifyFlag = notify.Write
+const notifyFlag = notify.Write | notify.Rename
0 commit comments