mirror of
https://github.com/beego/bee.git
synced 2024-11-22 10:10:53 +00:00
Bug fixed
This commit is contained in:
parent
49c53400ea
commit
cce4f8c289
3
watch.go
3
watch.go
@ -137,6 +137,9 @@ func Autobuild() {
|
|||||||
if runtime.GOOS == "windows" {
|
if runtime.GOOS == "windows" {
|
||||||
appName += ".exe"
|
appName += ".exe"
|
||||||
}
|
}
|
||||||
|
if isExist(appName) {
|
||||||
|
os.Remove(appName)
|
||||||
|
}
|
||||||
binPath := GetGOPATHs()[0] + "/bin/" + appName
|
binPath := GetGOPATHs()[0] + "/bin/" + appName
|
||||||
|
|
||||||
if conf.GoInstall && isExist(binPath) {
|
if conf.GoInstall && isExist(binPath) {
|
||||||
|
Loading…
Reference in New Issue
Block a user