[Question] Killing Process on Localhost with Cygwin
Created by: mjsevilla
After running npm start
, the standard react-scripts start
command fires and starts the dev server on localhost. However, quitting cygwin does not kill the process and my app continues to run on port 3000. Is there a way for cygwin to kill the process once it quits? In order to free up port 3000 (where my app runs), I have to find the PID, then send a taskkill
command to kill that process before I quit cygwin. Is this normal for cygwin on Windows? When using the terminal on my mac, quitting the terminal kills the process automatically.