Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #3581
Closed
Open
Issue created Dec 11, 2017 by Administrator@rootContributor

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

Assignee
Assign to
Time tracking