-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.watch-modeIssues and PRs related to watch modeIssues and PRs related to watch mode
Description
Version
22.15.0
Platform
Darwin **** 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:23 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6020 arm64
Subsystem
No response
What steps will reproduce the bug?
Running --watch-path
with --run
fails.
$ node --watch-path=./src --run build
# node: --watch requires specifying a file
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
It should run the script just like it would run a file, or it should run the script without the watch. The behaviour watch behaviour and the execution behaviour should be independent of each other.
What do you see instead?
It fails
Additional information
No response
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.watch-modeIssues and PRs related to watch modeIssues and PRs related to watch mode