Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

Changing folders quickly no longer leaves the wrong files being watched

Only the most recent CwdChanged hook result now updates which files FileChanged watches, so a slow earlier run cannot overwrite a newer one

You'll notice Bug Fixes
JSON All of v2.1.334
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
Bug FixesKind: in v2.1.334,
Bug FixesSection of the release
What

A hook is a command you set up to run automatically when something happens. When the working folder changes, the CwdChanged hook runs, and its result updates which files the FileChanged hook watches.

Previously, the watch list was replaced every time a CwdChanged run finished. If you changed folders several times in quick succession, an older run that finished late could overwrite the result of a newer one. Claude Code now numbers each run and accepts only the result of the latest.

Why

Moving between folders quickly no longer risks leaving FileChanged watching files from a folder you have already left.

Read from
Names in the bundleCwdChangedFileChanged
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed CwdChanged and FileChanged hooks: watchPaths from HTTP hooks being ignored, and a slower hook from an earlier cd replacing the paths…

See this entry in the whole of v2.1.334 →

Feedback