mirror of
https://github.com/beego/bee.git
synced 2025-07-05 18:20:18 +00:00
Add conf option for watch all
This commit is contained in:
8
conf.go
8
conf.go
@ -29,11 +29,14 @@ var defaultConf = `{
|
||||
},
|
||||
"go_install": false,
|
||||
"watch_ext": [],
|
||||
"dir_structure":{
|
||||
"dir_structure": {
|
||||
"watch_all": false,
|
||||
"controllers": "",
|
||||
"models": "",
|
||||
"others": []
|
||||
}
|
||||
},
|
||||
"cmd_args": [],
|
||||
"envs": []
|
||||
}
|
||||
`
|
||||
var conf struct {
|
||||
@ -47,6 +50,7 @@ var conf struct {
|
||||
GoInstall bool `json:"go_install"`
|
||||
WatchExt []string `json:"watch_ext"`
|
||||
DirStruct struct {
|
||||
WatchAll bool `json:"watch_all"`
|
||||
Controllers string
|
||||
Models string
|
||||
Others []string // Other directories.
|
||||
|
Reference in New Issue
Block a user