Skip to content

Commit a8931b9

Browse files
rogeliogcpojer
authored andcommitted
Fix --watchAll (jestjs#4254)
1 parent 17f47f7 commit a8931b9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/jest-config/src/set_from_argv.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ function setFromArgv(options: InitialOptions, argv: Argv): InitialOptions {
2626
options.useStderr = argv[key];
2727
break;
2828
case 'watchAll':
29-
options.watch = argv[key];
29+
options.watch = false;
30+
options.watchAll = argv[key];
3031
break;
3132
case 'env':
3233
options.testEnvironment = argv[key];

0 commit comments

Comments
 (0)