{"version":"2.1.333","anchor":"bash-edit-diff-now-uses-a-file-watcher-on-linux-and-on-wind","canonical_anchor":"bash-edit-diff-now-uses-a-file-watcher-on-linux-and-on-wind","heading":"Bash commands can show file edit diffs using a file watcher on Linux","tier":"notice","area":"Bash Tool","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/bash-edit-diff-now-uses-a-file-watcher-on-linux-and-on-wind","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Bash commands can show file edit diffs using a file watcher on Linux\n\nClaude Code now watches the repository for file writes so Bash commands can show edit diffs; on by default on Linux, behind a remote switch on Windows\n\n**Unclear.** It is unclear whether this watcher is used on macOS.\n\n**What**\n\nClaude Code now watches your repository for file writes while Bash commands run, so it can show an edit diff for files a command changed. An edit diff is the before-and-after view of a file's lines. Bash commands are the shell commands Claude runs for you.\n\n- Linux: always used.\n\n- Windows: used only when a remote switch is on, and it is off unless switched on remotely.\n\nWhile it works, Claude Code places small marker files named `.watchman-cookie-claude-edit-diff-*` in the repository. If you see them, they come from this feature.\n\n**Why**\n\nWorking out which files a Bash command changed could be slow in large repositories. Watching for writes as they happen is meant to make these diffs faster and more reliable.\n\n- Flag `tengu_glowing_wilkes`: Off in both readings (read for one account on one subscription tier against v2.1.333; this account: off, anonymous baseline: off, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Bash Tool\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}