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

Merge pull request #530 from Medicean/master

fix bee.json & Beefile watch_ext doesn't work
This commit is contained in:
astaxie
2018-07-21 22:28:38 +08:00
committed by GitHub
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`,