-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 as a daemon #5950
Comments
sounds like watch mode and setting pattern through a signal or something instead of pressing @rogeliog thoughts on this as a watch plugin? What (if any) changes would need to happen in jest to handle it? |
@thymikee @rickhanlonii thoughts? |
Yeah I think this could be done in user land and doesn't need to be in core Can re-open if there's a compelling reason to add to core 👍 |
@SimenB, @richardscarrott this would be great to speed up IDE tests duration. Now for example in IntelliJ when we run test, startup takes about 2seconds and test just for example 20ms. |
Yeah, we definitely want this at some point. Current status: #5048 (comment) (so a first iteration will have a programmatic API, and we can follow up with some way of starting jest as a daemon after that) |
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. |
Do you want to request a feature or report a bug?
Request a feature.
Hi, it'd be great if jest had some sort of daemon mode that would allow it to run and accept filenames to run tests for and emit results via json.
The use case for this is for integration into text editors like https://github.com/jojojames/flycheck-jest
At the moment, it seems we just start a new jest process with the specific file we want to test which incurs some amount of startup time.
I apologize if there's already a good way to do this, I looked around and wasn't able to find one.
Thanks!
The text was updated successfully, but these errors were encountered: