diff --git a/CHANGELOG.md b/CHANGELOG.md index 05762e0e5..6c245963f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ Versioning](https://semver.org/spec/v2.0.0.html). - Added `WIREIT_CACHE` environment variable, which controls caching behavior. Can be `local` or `none` to disable. +- Added `if-file-deleted` option to the `clean` settings. In this mode, + `output` files are deleted if any of the input files have been deleted since + the last run. + ### Changed - In watch mode, the terminal is now cleared at the start of each run, making it diff --git a/README.md b/README.md index 85c814cc8..06222ad2a 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,8 @@ - [Cleaning output](#cleaning-output) - [Watch mode](#watch-mode) - [Package locks](#package-locks) +- [Recipes](#recipes) + - [TypeScript](#typescript) - [Reference](#reference) - [Configuration](#configuration) - [Dependency syntax](#dependency-syntax) @@ -291,13 +293,15 @@ a script. This is helpful for ensuring that every build is clean and free from outdated files created in previous runs from source files that have since been removed. -To enable output cleaning, configure the output files for each script by -specifying the `wireit.