mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 22:17:28 +00:00
1 parent
273a68400f
commit
b5030782ae
1 file changed
+2
-2
+2
-2
@@ -749,11 +749,11 @@ func NewWatcher(port int) error {
|
|||||||
filepath.Base(ev.Name) == "4913" ||
|
filepath.Base(ev.Name) == "4913" ||
|
||||||
strings.HasPrefix(ext, ".goutputstream") ||
|
strings.HasPrefix(ext, ".goutputstream") ||
|
||||||
strings.HasSuffix(ext, "jb_old___") ||
|
strings.HasSuffix(ext, "jb_old___") ||
|
||||||
strings.HasSuffix(ext, "jb_bak___")
|
strings.HasSuffix(ext, "jb_bak___") ||
|
||||||
|
strings.HasPrefix(ext, ".sb-")
|
||||||
if istemp {
|
if istemp {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sometimes during rm -rf operations a '"": REMOVE' is triggered. Just ignore these
|
// Sometimes during rm -rf operations a '"": REMOVE' is triggered. Just ignore these
|
||||||
if ev.Name == "" {
|
if ev.Name == "" {
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in new issue
Block a user