Quitting react dev server closes browser and any open tabs
Created by: nikolas
This only occurs if create-react-app creates the browser process itself. See info below.
Environment
-
node -v
: v6.11.3 -
npm -v
:5.4.1 -
yarn --version
(if you use Yarn): -
npm ls react-scripts
(if you haven’t ejected): react-scripts@1.0.12 -
Operating system: Ubuntu 16.04
-
Browser and version (if relevant): Chromium 60.0.3112.113
Steps to Reproduce
- Without a browser open, run
npm run start
in a repo created withcreate-react-app
- Open a few tabs in the browser created by that command.
- 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.