-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Ava fails to run in watch mode via CLI #3285
Labels
bug
current functionality does not work as desired
Comments
Appears to have been resolved. Didn't change any of the code above so I'm guessing it was due to some of my test cases failing. Running fine w/ [email protected] against Node v16, v20, and v21. |
novemberborn
added a commit
that referenced
this issue
Jan 11, 2024
Don't emit the 'touched-files' event, since the watcher assumes that comes with a files value. Fixes #3285
Yes, I found a code path where this may occur. |
novemberborn
added
bug
current functionality does not work as desired
and removed
needs triage
labels
Jan 11, 2024
novemberborn
added a commit
that referenced
this issue
Jan 11, 2024
Don't emit the 'touched-files' event, since the watcher assumes that comes with a files value. Fixes #3285
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please provide details about:
Run ava with the
--watch
flag via the CLI. I'm usingchild_process.exec()
to trigger the CLI. Tested against the latest 6.0.1 release and 5.3.1 running on Node v21, v20, v18, and v16. Tests run fine in both standalone (no watch) mode and watch (only the initial run).Ava runs tests, but exits abruptly due to error about
evt.files
being undefined in the watcher:Tests run and then watch mode waits for changes.
The text was updated successfully, but these errors were encountered: