Can I stop a locally running Ionic Server from the command line with a command?

If I have a locally running ionic server is there any command I can use to stop the server something like ionic stop run from within the directory of my project?

I know I can press ctr c to kill it but sometimes I close the terminal but forget to kill the server.

Sometimes in VSCode or in another tool I may accidentally close my terminal and forgot to press ctr c.

Is their a command to stop the server?

My first instinct would be to use killall, but this is a completely OS-specific question, so it would help to know what OS you’re using.

Depending on the OS, the process should be stopped once the terminal is closed.

I am using windows 10

1 Like