diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d7151a0f..5c8eea555 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,16 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed + +- When running in watch mode, a persistent service will now restart on each run if it does not have a `files` field in its config. This makes persistent services better match the behavior of standard scripts and ephemeral services. + +### Added + +- Added a new logger for debugging your Wireit configs. Set `WIREIT_LOGGER=explain` to see detailed information about why each script is run, as well as the normal `simple` logs, without any stdout or stderr of scripts. + +- Added more "why" explanations to the `simple` and `metrics` loggers as well, including why a service was restarted, and what file change triggered a new run in watch mode. + ### Fixed - More reliably handle and report diagnostics for scripts with invalid configurations. Specifically fixed https://github.com/google/wireit/issues/803. diff --git a/README.md b/README.md index 53b621ef8..f05e8b1e3 100644 --- a/README.md +++ b/README.md @@ -847,14 +847,14 @@ The following syntaxes can be used in the `wireit.