1
0
mirror of https://github.com/beego/bee.git synced 2024-11-25 09:50:55 +00:00

刚才漏了

This commit is contained in:
fanngyuan 2013-08-22 12:19:45 +08:00
parent 9ba4bbc1bc
commit d42aec07b4
2 changed files with 2 additions and 0 deletions

1
bee.go
View File

@ -76,6 +76,7 @@ var commands = []*Command{
cmdPack, cmdPack,
cmdApiapp, cmdApiapp,
cmdRouter, cmdRouter,
cmdTest,
//cmdReStart, //cmdReStart,
} }

View File

@ -147,6 +147,7 @@ func Start(appname string) {
cmd.Stderr = os.Stderr cmd.Stderr = os.Stderr
go cmd.Run() go cmd.Run()
started<-true
} }
// checkTMPFile returns true if the event was for TMP files. // checkTMPFile returns true if the event was for TMP files.