1
0
mirror of https://github.com/beego/bee.git synced 2025-06-11 03:10:40 +00:00

fix bee.json & Beefile watch_ext doesn't work

This commit is contained in:
Medicean
2018-06-11 18:01:35 +08:00
parent e90da8f77b
commit 25063a62c4
4 changed files with 11 additions and 5 deletions

View File

@ -36,8 +36,8 @@ var (
state sync.Mutex
eventTime = make(map[string]int64)
scheduleTime time.Time
watchExts = []string{".go"}
watchExtsStatic = []string{".html", ".tpl", ".js", ".css"}
watchExts = config.Conf.WatchExts
watchExtsStatic = config.Conf.WatchExtsStatic
ignoredFilesRegExps = []string{
`.#(\w+).go`,
`.(\w+).go.swp`,