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

Update LICENSE

This commit is contained in:
Unknown
2013-10-30 19:54:53 -04:00
7 changed files with 583 additions and 348 deletions

View File

@ -16,7 +16,6 @@ package main
import (
"fmt"
"log"
"os"
"os/exec"
"strings"
@ -66,7 +65,7 @@ func NewWatcher(paths []string) {
go Autobuild()
}
case err := <-watcher.Error:
log.Fatal("error:", err)
ColorLog("[WARN] %s\n", err.Error()) // No need to exit here
}
}
@ -143,7 +142,7 @@ func Kill() {
fmt.Println("Kill -> ", e)
}
}()
if cmd != nil {
if cmd != nil && cmd.Process != nil {
cmd.Process.Kill()
}
}