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
You can use the following command to end an ongoing process:
ctrl + c
Try using ctrl + c twice to get the prompt for terminating the batch job.
I was able to stop via this on Windows for Angular 8:
Step 1: Find 4200 process
netstat -ano | findstr :4200
Step 2: Kill that process:
taskkill /PID <PID> /F
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 <process_id>
----Ctrl + c then choose Y from the Y/N option provided.
Exit the IDE and boots up IDE again , try it.