The watch mode does not work in v6
aristov opened this issue · 4 comments
aristov commented
I'm trying to run AVA in watch mode:
npx ava --watch
But I got this error:
file:///Users/aristov/workspace/jste/node_modules/ava/lib/cli.js:525
signal: abortController.signal,
^
TypeError: Cannot read properties of undefined (reading 'signal')
at loadCli (file:///Users/aristov/workspace/jste/node_modules/ava/lib/cli.js:525:28)
Node.js v20.6.1
npx ava
works normally.
This bug is only related to version 6.0.0.
novemberborn commented
AVA 6 requires 20.8, can't check right now but that language feature may not be available in 20.6.
kjellmorten commented
I got the same error with node v20.10.0.
novemberborn commented
Whelp, that's what happens when you don't do beta releases 😊
novemberborn commented
Fixed in 6.0.1.