silenceper / gowatch

🚀 gowatch is a command line tool that builds and (re)starts your go project everytime you save a Go or template file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fail to watch directory[ too many open files ]

micln opened this issue · comments

commented
$ gowatch 

gowatch.go:77: [INFO] Initializing watcher...
gowatch.go:79: [INFO] Directory( /Users/xxx )
gowatch.go:79: [INFO] Directory( /Users/xxx )
gowatch.go:82: [ERROR] Fail to watch directory[ too many open files ]

在 配置里排除 vendor 页也是这样的


看起来有点干,还需要什么信息吗?

commented

ulimit -n 2048

后解决。

不过看了下项目,不算vendor 只有600个文件