Current Behavior
If you specify both the all and initialRun options when running nx watch, initialRun will have no effect.
Expected Behavior
The command should be called once at the beginning even if there are no file changes.
GitHub Repo
Use any repo
Steps to Reproduce
- Run
nx watch --initialRun --all --verbose -- echo executed
Nx Report
Node : 22.15.0
OS : linux-x64
Native Target : x86_64-linux
pnpm : 10.10.0
nx : 21.3.11
typescript : 5.9.2
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
Current Behavior
If you specify both the
allandinitialRunoptions when runningnx watch,initialRunwill have no effect.Expected Behavior
The command should be called once at the beginning even if there are no file changes.
GitHub Repo
Use any repo
Steps to Reproduce
nx watch --initialRun --all --verbose -- echo executedNx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response