-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
33bad3c
commit 68bbb1f
Showing
6 changed files
with
60 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters