avajs / avajs/typescript

Ava watch does not work with pre-compile option

Open
#33 14 comments 3 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
JavaScript
Stars
76
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Please provide details about:

* What you're trying to do

Ava watch mode with this package.

```json
{
"ava": {
"files": [
"src/**/*.test.ts"
],
"typescript": {
"rewritePaths": {
"src/": "build/"
},
"compile": "tsc"
}
}
}
```

* What happened

`ava --watch`

If I change a source file or test file the runner is not restarted. If I do the same with `ts-node/register` it works.

* What you expected to happen

Ava runner should rerun on file change.

ava: 3.15.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.