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
  • #1263
Closed
Open
Issue created Dec 13, 2016 by Administrator@rootContributor

Suppress browser launch only when BROWSER=none

Created by: CaryLandholt

Description

As a follow-up to https://github.com/facebookincubator/create-react-app/commit/dc6edce99bc999252757114cb54721928abc28f1, the browser does not open when in a non-interactive shell (process.stdout.isTTY === false). This will happen when starting the CRA app from within another process, such as running a backend and front-end concurrently in development.

Expected behavior

The browser should open regardless of interactive state; however, users can suppress browser launch when BROWSER=none (introduced in https://github.com/facebookincubator/create-react-app/pull/1247).

Actual behavior

Browser does not open when app is started (via either npm start or yarn start).

Assignee
Assign to
Time tracking