Skip to content
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

Add watch mode #16

Open
mrazauskas opened this issue Nov 16, 2023 · 2 comments
Open

Add watch mode #16

mrazauskas opened this issue Nov 16, 2023 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@mrazauskas
Copy link
Member

It would be amazing to have tstyche --watch.

@mrazauskas
Copy link
Member Author

mrazauskas commented Mar 29, 2024

2.0.0-beta.0 shipped with initial support of the watch mode. Running tstyche --watch will watch for changes of test files and will rerun them. Give it a try!

In the upcoming weeks I will implement watch for:

  • tstyche.config.json
  • direct dependencies of the test files
  • documentation (which files are watched and availability of recursive watch on different systems)

@mrazauskas
Copy link
Member Author

2.0.0-beta.1 just shipped with improved watch mode.

The test runner will restart, if TSTyche config file changes. In case, if any configuration errors are encountered, it will wait for file changes and try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant