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

Merge pull request #522 from lixiangzhong/master

Update watch.go
This commit is contained in:
astaxie
2018-07-21 22:58:48 +08:00
committed by GitHub

View File

@ -145,9 +145,9 @@ func AutoBuild(files []string, isgenerate bool) {
}
beeLogger.Log.Success("Docs generated!")
}
appName := appname
if err == nil {
appName := appname
if runtime.GOOS == "windows" {
appName += ".exe"
}
@ -171,7 +171,7 @@ func AutoBuild(files []string, isgenerate bool) {
}
beeLogger.Log.Success("Built Successfully!")
Restart(appname)
Restart(appName)
}
// Kill kills the running command process