Closed razor-x closed 2 years ago
Your configuration isn't being picked up. AVA only support JavaScript configuration files, so you'd want something like ava.config.js
:
export default {
"ignoredByWatcher": ["tmp/**/*"]
}
Your configuration isn't being picked up. AVA only support JavaScript configuration files, so you'd want something like
ava.config.js
:export default { "ignoredByWatcher": ["tmp/**/*"] }
🤦🏻 Thank you. I feel I can't be the only one who missed this change. Can I suggest a waring like this? https://github.com/avajs/ava/pull/2962
When running a test that saves files to
tmp/some-dir/some-file
AVA will loop forever in watch mode even ifignoredByWatcher
is set. Same behaviour in AVA v3 and v4.Minimal reproducible example: https://github.com/rxbugs/ava-watch-ignore