mirror of
https://github.com/beego/bee.git
synced 2024-12-24 03:00:49 +00:00
commit
25a2684240
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user