fix file watcher event bug on Linux

the watcher can not normally get events of file changes on linux. it just can get the first two changes.
This commit is contained in:
Shu Xian
2019-08-19 15:28:24 +08:00
parent 9c820445a4
commit 2413cbcd80
3 changed files with 134 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
//+build !linux
package file
import (