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

'node --test --watch' fails: node: --watch requires specifying a file #49617

Closed
strager opened this issue Sep 12, 2023 · 1 comment · Fixed by #49578
Closed

'node --test --watch' fails: node: --watch requires specifying a file #49617

strager opened this issue Sep 12, 2023 · 1 comment · Fixed by #49578

Comments

@strager
Copy link

strager commented Sep 12, 2023

Version

v20.6.1

Platform

Linux strapurp 5.19.0-46-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 21 15:35:31 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

Run command: node --test --watch

How often does it reproduce? Is there a required condition?

100% of the time. I'm not aware of any preconditions.

What is the expected behavior? Why is that the expected behavior?

Tests run.

What do you see instead?

error message:

node: --watch requires specifying a file

then exit code 9.

Additional information

This feature is documented here: https://nodejs.org/api/test.html#watch-mode

@Linkgoron
Copy link
Member

Linkgoron commented Sep 12, 2023

should be solved by this: #49578 I believe

nodejs-github-bot pushed a commit that referenced this issue Sep 14, 2023
PR-URL: #49578
Fixes: #49617
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
ruyadorno pushed a commit that referenced this issue Sep 28, 2023
PR-URL: #49578
Fixes: #49617
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
alexfernandez pushed a commit to alexfernandez/node that referenced this issue Nov 1, 2023
PR-URL: nodejs#49578
Fixes: nodejs#49617
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
targos pushed a commit that referenced this issue Nov 27, 2023
PR-URL: #49578
Fixes: #49617
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
sercher added a commit to sercher/graaljs that referenced this issue Apr 25, 2024
PR-URL: nodejs/node#49578
Fixes: nodejs/node#49617
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
sercher added a commit to sercher/graaljs that referenced this issue Apr 25, 2024
PR-URL: nodejs/node#49578
Fixes: nodejs/node#49617
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants