From 775f65130d3117510146b35bd552602b381ec260 Mon Sep 17 00:00:00 2001 From: Jason Jean Date: Wed, 5 Apr 2023 11:29:19 -0400 Subject: [PATCH] fix(misc): fix docs for nx watch --includeDependentProjects (#16026) --- docs/generated/cli/watch.md | 2 +- docs/generated/packages/nx/documents/watch.md | 2 +- packages/nx/src/command-line/examples.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/generated/cli/watch.md b/docs/generated/cli/watch.md index e35e2fccdc1af..5fb31bdeb6a8b 100644 --- a/docs/generated/cli/watch.md +++ b/docs/generated/cli/watch.md @@ -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: diff --git a/docs/generated/packages/nx/documents/watch.md b/docs/generated/packages/nx/documents/watch.md index e35e2fccdc1af..5fb31bdeb6a8b 100644 --- a/docs/generated/packages/nx/documents/watch.md +++ b/docs/generated/packages/nx/documents/watch.md @@ -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: diff --git a/packages/nx/src/command-line/examples.ts b/packages/nx/src/command-line/examples.ts index ea993c8a155ce..76a4226f3a25f 100644 --- a/packages/nx/src/command-line/examples.ts +++ b/packages/nx/src/command-line/examples.ts @@ -373,7 +373,7 @@ export const examples: Record = { }, { 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', },