Skip to content

Commit

Permalink
Fix watchAll not running tests on save (jestjs#4550)
Browse files Browse the repository at this point in the history
  • Loading branch information
truckingsim authored and tabrindle committed Oct 2, 2017
1 parent 9b4b860 commit d97d254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-cli/src/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ const _buildContextsAndHasteMaps = async (
console: new Console(outputStream, outputStream),
maxWorkers: globalConfig.maxWorkers,
resetCache: !config.cache,
watch: globalConfig.watch,
watch: globalConfig.watch || globalConfig.watchAll,
watchman: globalConfig.watchman,
});
hasteMapInstances[index] = hasteMapInstance;
Expand Down

0 comments on commit d97d254

Please sign in to comment.