Skip to content

[Question] Killing Process on Localhost with Cygwin #3581

@mjsevilla

Description

@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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions