fix(watch): capture Windows file identity before external moves

This commit is contained in:
eezd committed 2026-10-27 15:03:57 +08:00
1 parent 1a8f70ca13
commit 18bbb60a3b
4 files changed
+41 -4

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
//go:build !windows
package watch
import "os"
func snapshotInfo(path string) (os.FileInfo, error) { return os.Stat(path) }