how to end ng serve or firebase serve

Solution 1:

You can use the following command to end an ongoing process:

ctrl + c

Solution 2:

Try using ctrl + c twice to get the prompt for terminating the batch job.