增加 监听文件夹

This commit is contained in:
dengsgo
2019-04-02 18:37:46 +08:00
parent 5f43051ae8
commit bee37e29e6
2 changed files with 2 additions and 0 deletions

View File

@@ -137,6 +137,7 @@ func addWatcher() {
}
log.Println("total monitored dirs: " + strconv.Itoa(len(dirsMap)))
log.Println("fileboy is ready.")
cfg.Monitor.DirsMap = dirsMap
}
func initWatcher() {