Skip to content

Commit

Permalink
Fix --watchAll (#4254)
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeliog authored and cpojer committed Aug 14, 2017
1 parent c61165e commit 34f6d3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/jest-config/src/set_from_argv.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ function setFromArgv(options: InitialOptions, argv: Argv): InitialOptions {
options.useStderr = argv[key];
break;
case 'watchAll':
options.watch = argv[key];
options.watch = false;
options.watchAll = argv[key];
break;
case 'env':
options.testEnvironment = argv[key];
Expand Down

0 comments on commit 34f6d3a

Please sign in to comment.