turbo
68bbb1f2 - adds daemon flag for env var and turbo.json (#8728)

Commit
1 year ago
adds daemon flag for env var and turbo.json (#8728) ### Description This PR adds support and testing for a `TURBO_DAEMON` environment variable, as well as a `{ daemon: boolean }` field to the `turbo.json` file. This change allows us to remove `daemon` from `RunOpts`, as well. ### Testing Instructions You can run `turbo daemon status` to see the status of the daemon after each run (and also `turbo daemon stop` to kill it). #### Daemon Off 1. run with `--no-daemon` 1. run with `TURBO_DAEMON=false` 1. run with `{"daemon":false}` in your turbo.json #### Daemon On 1. run with `--daemon` 1. run with `TURBO_DAEMON=true` 1. run with `{"daemon":true}` in your turbo.json
Author
Parents
Loading