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

now bee run can specify main files

This commit is contained in:
slene
2014-02-22 01:51:18 +08:00
parent 1a352bc6b3
commit 7da30d1b35
3 changed files with 23 additions and 9 deletions

View File

@ -71,9 +71,9 @@ func testApp(cmd *Command, args []string) {
// and ignore non-go files.
paths = append(paths, conf.DirStruct.Others...)
NewWatcher(paths)
NewWatcher(paths, nil)
appname = args[0]
Autobuild()
Autobuild(nil)
for {
select {
case <-started: