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

fix(misc): fix docs for nx watch --includeDependentProjects #16026

Merged
merged 1 commit into from
Apr 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/generated/cli/watch.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Watch the "app" project and echo the project name and the files that changed:
Watch "app1" and "app2" and echo the project name whenever a specified project or its dependencies change:

```shell
nx watch --projects=app1,app2 --includeDependencies -- echo \$NX_PROJECT_NAME
nx watch --projects=app1,app2 --includeDependentProjects -- echo \$NX_PROJECT_NAME
```

Watch all projects (including newly created projects) in the workspace:
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/nx/documents/watch.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Watch the "app" project and echo the project name and the files that changed:
Watch "app1" and "app2" and echo the project name whenever a specified project or its dependencies change:

```shell
nx watch --projects=app1,app2 --includeDependencies -- echo \$NX_PROJECT_NAME
nx watch --projects=app1,app2 --includeDependentProjects -- echo \$NX_PROJECT_NAME
```

Watch all projects (including newly created projects) in the workspace:
Expand Down
2 changes: 1 addition & 1 deletion packages/nx/src/command-line/examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export const examples: Record<string, Example[]> = {
},
{
command:
'watch --projects=app1,app2 --includeDependencies -- echo \\$NX_PROJECT_NAME',
'watch --projects=app1,app2 --includeDependentProjects -- echo \\$NX_PROJECT_NAME',
description:
'Watch "app1" and "app2" and echo the project name whenever a specified project or its dependencies change',
},
Expand Down