[fix] start command
This commit is contained in:
parent
9530ee60e5
commit
5ca0b8f3c3
1 changed files with 8 additions and 1 deletions
|
|
@ -192,9 +192,16 @@ var startCmd = &cobra.Command{
|
|||
|
||||
case http.CLOSED:
|
||||
fmt.Println(color.GreenString(L("✨EXITED✨")))
|
||||
watchDone <- 1
|
||||
return
|
||||
|
||||
case http.ERROR:
|
||||
color.RedString(L("Fatal: %s"), err)
|
||||
watchDone <- 1
|
||||
return
|
||||
|
||||
default:
|
||||
fmt.Println("hello", v)
|
||||
fmt.Println("Signal:", v)
|
||||
}
|
||||
|
||||
case <-interrupt:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue