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
  • Merge requests
  • !6285

Allow react-scripts test --no-watch

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/ricokahler/feature/allow-watch-equals-false into master Jan 27, 2019
  • Overview 6
  • Commits 5
  • Pipelines 0
  • Changes 1

Created by: ricokahler

This is a one-line pull request for https://github.com/facebook/create-react-app/issues/6284. This allows react-scripts test --watch=false to allow react-scripts to run jest without watch mode.

I tested this out by npm linking my local fork to a project created with create-react-app.

I ran the command npm t -- --watch=false and jest closed right after everything was ran!

See the gif, when --watch=false is added, it no longer adds the --watch:

jest-watch-false

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/ricokahler/feature/allow-watch-equals-false