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
  • #12411
Closed
Open
Issue created May 18, 2022 by Administrator@rootContributor

Does not reuse tab from Google Chrome Dev and Google Chrome Beta when starting

Created by: nvh95

Describe the bug

On MacOS, if the users have both Google Chrome and Google Chrome Dev installed, but they have only Google Chrome Dev opened. Then, startBrowserProcess will not reuse the opening tab in Google Chrome Dev, but open a new tab in Google Chrome.

This happens with Google Chrome Beta as well, but not Google Chrome Canary (since it's already in the list).

I did create a PR to fix this (#12412)

Reproducible demo

https://user-images.githubusercontent.com/8603085/169116723-aecbb4e0-db6d-47d8-b055-fc2231278ba0.mov

Environment

Click to expand!

Environment Info:

current version of create-react-app: 5.0.1 running from /Users/somewhere/.npm/_npx/c67e74de0542c87c/node_modules/create-react-app

System: OS: macOS 12.0.1 CPU: (8) arm64 Apple M1 Binaries: Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node Yarn: 1.22.15 - ~/.nvm/versions/node/v16.15.0/bin/yarn npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm Browsers: Chrome: 101.0.4951.64 Edge: Not Found Firefox: Not Found Safari: 15.1 npmPackages: react: ^18.1.0 => 18.1.0 react-dom: ^18.1.0 => 18.1.0 react-scripts: 5.0.1 => 5.0.1 npmGlobalPackages: create-react-app: Not Found

Steps to reproduce

(Write your steps here:)

  1. Have both Google Chrome and Google Chrome Dev installed
  2. Open only Google Chrome Dev
  3. Run react-scripts start

Expected behavior

App (http://localhost:3000) should open in Google Chrome Dev

Actual behavior

A new instance of Google Chrome is created and app (http://localhost:3000) is opened in a new tab in Google Chrome

Assignee
Assign to
Time tracking