-
-
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
watchman: false in config file not respected (always true) #962
Comments
Yes you are right, which is why I removed the config options from the API docs. The next version of Jest will retry a crawl with node instead of watchman if watchman is not available, so this should not be an issue any longer. We keep the |
(the fact that we use configs to transport options is bad and we should rewrite that.) |
You're the one who used the config and not the command line flag 😛 facebook/react@681a463 I think the problem actually becomes worse than just a passive warning. For me I was getting the "no watchman found" error from sane and then it would just stop running. |
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. |
Since the CLI defaults
watchman
totrue
1, this will always override any value specified in the config2. Basically the check at 2 should be more nuanced or we shouldn't specify the default values when parsing argv and let it happen where we set other defaults.The text was updated successfully, but these errors were encountered: