1
0
mirror of https://github.com/beego/bee.git synced 2025-07-03 15:20:17 +00:00

Add support for watch main package files through bee.json

This commit is contained in:
Unknown
2013-07-24 20:36:22 +08:00
parent 172bc44b22
commit ead4f9fd81
3 changed files with 10 additions and 2 deletions

View File

@ -53,6 +53,8 @@ func NewWatcher(paths []string) {
}
}
}()
fmt.Println("[INFO] Initializing watcher...")
for _, path := range paths {
fmt.Println(path)
err = watcher.Watch(path)