From a8931b92d02585ecc3e4263ce8b1d103e08eb7d9 Mon Sep 17 00:00:00 2001 From: Rogelio Guzman Date: Mon, 14 Aug 2017 00:18:22 -0700 Subject: [PATCH] Fix --watchAll (#4254) --- packages/jest-config/src/set_from_argv.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/jest-config/src/set_from_argv.js b/packages/jest-config/src/set_from_argv.js index 9da083d39ae6..45dac6088130 100644 --- a/packages/jest-config/src/set_from_argv.js +++ b/packages/jest-config/src/set_from_argv.js @@ -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];