how to end ng serve or firebase serve

后端 未结 13 1994
渐次进展
渐次进展 2021-01-29 23:05

I\'ve been doing web development with Angular2 and have been using both Angular2 and Firebase to run local servers. I haven\'t been able to find a command similar to typing quit

13条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-29 23:52

    Can use

    killall -9 
    

    The killall command can be used to send a signal to a particular process by using its name. It means if you have five versions of the same program running, the killall command will kill all five.

    Or you can use

    pgrep "ng serve"
    

    which will find the process id of ng and then you can use following command.

    kill -9 
    

提交回复
热议问题