Skip to content

Commit 34f6d3a

Browse files
rogeliogcpojer
authored andcommitted
Fix --watchAll (#4254)
1 parent c61165e commit 34f6d3a

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)