Stopping a process with Ctrl-C
That dev server keeps running until you stop it. The universal "stop" is Ctrl-C — hold the Control key and press C. It sends a polite "please stop now" signal to whatever is running, and you get your back.
- Ctrl-C — stop the program currently running in this . Your go-to for ending a dev server or cancelling a command that's taking too long.
- Closing the terminal window also stops everything running in it, but Ctrl-C is cleaner.
Remember Ctrl-C and you'll never feel trapped by a "stuck" terminal again.