Whether this process was spawned to BE the detached daemon.
()
| 96 | |
| 97 | /** Whether this process was spawned to BE the detached daemon. */ |
| 98 | function daemonInternalSet(): boolean { |
| 99 | const raw = process.env[DAEMON_INTERNAL_ENV]; |
| 100 | return !!raw && raw !== '0' && raw.toLowerCase() !== 'false'; |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * Resolve the project root the daemon machinery should key on. Returns |