From 7a94065b1b2dd5f08c8d25a551291c2cc35ffc60 Mon Sep 17 00:00:00 2001 From: Juri Date: Thu, 13 Jul 2023 14:58:14 +0200 Subject: [PATCH] docs(core): improve formatting & visibility for daemon disabling options --- docs/shared/daemon.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/shared/daemon.md b/docs/shared/daemon.md index 6a348395c8fbe..6bea760737dda 100644 --- a/docs/shared/daemon.md +++ b/docs/shared/daemon.md @@ -29,7 +29,10 @@ If you ever need to manually shut down the Nx Daemon, you can run `nx reset` wit ## Turning it Off -As of v13.6.0, the Nx Daemon is enabled by default when running on your local machine. If you want to turn it off, simply set `useDaemonProcess: false` in the runners options in nx.json. You can also set the `NX_DAEMON` env variable to `false`. +As of v13.6.0, the Nx Daemon is enabled by default when running on your local machine. If you want to turn it off + +- simply set `useDaemonProcess: false` in the runners options in `nx.json` or +- set the `NX_DAEMON` env variable to `false`. When using Nx in a CI environment, the Nx Daemon is disabled by default. Whether the process runs is determined by the following function: [https://github.com/nrwl/nx/blob/master/packages/nx/src/utils/is-ci.ts](https://github.com/nrwl/nx/blob/master/packages/nx/src/utils/is-ci.ts)