diff --git a/src/index.ts b/src/index.ts index ac1122c0f..7bf8b6834 100755 --- a/src/index.ts +++ b/src/index.ts @@ -576,6 +576,10 @@ prog ...jestConfig, }) ); + + if (!process.env.CI) { + argv.push('--watch') // run jest in watch mode unless in CI + } const [, ...argsToPassToJestCli] = argv; jest.run(argsToPassToJestCli);