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

Improve integration with AVA #11

Merged
merged 2 commits into from
Feb 2, 2020
Merged

Improve integration with AVA #11

merged 2 commits into from
Feb 2, 2020

Conversation

novemberborn
Copy link
Member

Have the watcher ignore changes to the original TypeScript source files.
This way, the watcher will only react to changes to the TypeScript build
output.

Allow the watcher to resolve the rewritten path of a test file, so it
can track it as a dependency of the original TypeScript source file.
This way, when the build output changes, the watcher knows to re-run the
original test file.

Update file patterns to ignore *.d.ts files, as well as any files in the
build output.

Updated the ignored-by-watcher patterns to ignore source map files from
the build output.

Fixes #10, #7, #9.

Have the watcher ignore changes to the original TypeScript source files.
This way, the watcher will only react to changes to the TypeScript build
output.

Allow the watcher to resolve the rewritten path of a test file, so it
can track it as a dependency of the original TypeScript source file.
This way, when the build output changes, the watcher knows to re-run the
original test file.

Update file patterns to ignore *.d.ts files, as well as any files in the
build output.

Updated the ignored-by-watcher patterns to ignore source map files from
the build output.

Fixes #10, #7, #9.
Looks like there's a regression which causes test failures on Windows.
@novemberborn
Copy link
Member Author

Though when used with AVA 3.2, this changes behavior, I don't think those are breaking changes so will ship this as a 1.1 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant