Skip to content

Quitting react dev server closes browser and any open tabs #3113

@nikolas

Description

@nikolas

This only occurs if create-react-app creates the browser process itself. See info below.

Environment

  1. node -v: v6.11.3

  2. npm -v:5.4.1

  3. yarn --version (if you use Yarn):

  4. npm ls react-scripts (if you haven’t ejected): [email protected]

  5. Operating system: Ubuntu 16.04

  6. Browser and version (if relevant): Chromium 60.0.3112.113

Steps to Reproduce

  1. Without a browser open, run npm run start in a repo created with create-react-app
  2. Open a few tabs in the browser created by that command.
  3. Ctrl-C the react server.

Expected Behavior

The browser remains open. Or maybe gives a confirm dialog, then closes.

Actual Behavior

The browser closes, losing my open tabs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions