From ef2c62ca4e57ec08d108ad7d198f84f4522f34eb Mon Sep 17 00:00:00 2001 From: William Hilton Date: Thu, 29 Oct 2020 10:42:15 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Nicholas C. Zakas --- docs/user-guide/command-line-interface.md | 2 +- lib/options.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/command-line-interface.md b/docs/user-guide/command-line-interface.md index eae055fdc268..182905484be8 100644 --- a/docs/user-guide/command-line-interface.md +++ b/docs/user-guide/command-line-interface.md @@ -443,7 +443,7 @@ Example: #### `--cache-strategy` -Strategy to use for detecting changed files. Can be either `metadata` or `content`. If no strategy is specified, `metadata` will be used. +Strategy for the cache to use for detecting changed files. Can be either `metadata` or `content`. If no strategy is specified, `metadata` will be used. The `content` strategy can be useful in cases where the modification time of your files change even if their contents have not. diff --git a/lib/options.js b/lib/options.js index 5609b97efbd0..99a38a7700c4 100644 --- a/lib/options.js +++ b/lib/options.js @@ -220,7 +220,7 @@ module.exports = optionator({ type: "String", default: "metadata", enum: ["metadata", "content"], - description: "Strategy to use for detecting changed files" + description: "Strategy to use for detecting changed files in the cache" }, { heading: "Miscellaneous"