-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jest --watch
watches files outside of testPathDirs
#564
Comments
cc @huang47 can you take a look? |
yes sire! |
sorry didn't get back to this for a while, I was trying to make a fix but seems like we should move the watch implementation to src/jest.js instead of bin/jest.js which doesn't own any knowledge of test dirs/paths. will try to squeeze some time to commit a patch later this week to address this problem |
This bug leads to
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I've configured jest like this:
But jest re-runs tests even when I save files outside of
"<rootDir>/app"
, e.g. saving"<rootDir>/gulpfile.js"
triggers a test re-run.The text was updated successfully, but these errors were encountered: