1

I am using GitBash terminal and running an Angular application through local development server using ng serve. When I want to stop running the server, I try methods such as ctrl + c and even taskkill /pid 14892 /f, but nothing happens. It carries on running and the only way I can stop it is by closing GitBash and then killing the process through command line. I have a looked at this thread, but nothing works

Question

How do I kill ng serve and carry on using the GitBash terminal?

phd
  • 82,685
  • 13
  • 120
  • 165
Patrick McDermott
  • 1,220
  • 1
  • 15
  • 30

1 Answers1

0

I tried doing it that way too. The only way that worked for me is that I killed Node.js JavaScript Runtime through task manager and it ended the Angular process.

  • Before posting an Answer, ensure that your answer is the exact solution of the question. If you are not unsure about your post, then you should post your solution as a comment, not the answer. – Santosh Aryal Feb 19 '22 at 04:51
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Feb 19 '22 at 04:52