diff --git a/docs/generated/devkit/createProjectGraphAsync.md b/docs/generated/devkit/createProjectGraphAsync.md index 146ec2cc7a..f9744c0adf 100644 --- a/docs/generated/devkit/createProjectGraphAsync.md +++ b/docs/generated/devkit/createProjectGraphAsync.md @@ -12,7 +12,7 @@ Nx will compute it in the current process if: - It is running in the docker container. - The daemon process is disabled because of the previous error when starting the daemon. - `NX_DAEMON` is set to `false`. -- `useDaemon` is set to false in `nx.json` +- `useDaemonProcess` is set to false in the options of the tasks runner inside `nx.json` `NX_DAEMON` env variable takes precedence: diff --git a/packages/nx/src/project-graph/project-graph.ts b/packages/nx/src/project-graph/project-graph.ts index 237db5227c..7004f15d02 100644 --- a/packages/nx/src/project-graph/project-graph.ts +++ b/packages/nx/src/project-graph/project-graph.ts @@ -120,7 +120,7 @@ function handleProjectGraphError(opts: { exitOnError: boolean }, e) { * * It is running in the docker container. * * The daemon process is disabled because of the previous error when starting the daemon. * * `NX_DAEMON` is set to `false`. - * * `useDaemon` is set to false in `nx.json` + * * `useDaemonProcess` is set to false in the options of the tasks runner inside `nx.json` * * `NX_DAEMON` env variable takes precedence: * * If it is set to true, the daemon will always be used.