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