Skip to content

Commit

Permalink
Add explicit check for --watchAll=false (facebook#7433)
Browse files Browse the repository at this point in the history
Resolves facebook#7180.
  • Loading branch information
mrmckeb authored and iansu committed Jul 26, 2019
1 parent f3dea17 commit bffe42e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ function isInMercurialRepository() {
// Watch unless on CI or explicitly running all tests
if (
!process.env.CI &&
argv.indexOf('--watchAll') === -1
argv.indexOf('--watchAll') === -1 &&
argv.indexOf('--watchAll=false') === -1
) {
// https://github.com/facebook/create-react-app/issues/5210
const hasSourceControl = isInGitRepository() || isInMercurialRepository();
Expand Down

0 comments on commit bffe42e

Please sign in to comment.