[fix] start command

This commit is contained in:
Max 2023-04-13 13:05:02 +08:00
parent 9530ee60e5
commit 5ca0b8f3c3

View file

@ -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: