how to end ng serve or firebase serve

后端 未结 13 1950
渐次进展
渐次进展 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-30 00:06

    If you cannot see the "ng serve" command running, then you can do the following on Mac OSX (This should work on any Linux and Uni software as well).

    ps -ef | grep "ng serve"
    

    From this, find out the PID of the process and then kill it with the following command.

    kill -9 
    

提交回复
热议问题