# Improve \`didChangeWatchedFiles\` handler performance \(\#59078\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/cafbf4b5df7fedb67fc0f248850a5654efcec5d9)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: cafbf4b5df7fedb67fc0f248850a5654efcec5d9

Requested commit: cafbf4b5df7fedb67fc0f248850a5654efcec5d9

Commit: cafbf4b5df7fedb67fc0f248850a5654efcec5d9

Tree: 2426d6cbe5b97e75207369bd66e929bc624e0399

Author: Cole Miller

Committer: GitHub

## Message

```
Improve `didChangeWatchedFiles` handler performance (#59078)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A

---------

Co-authored-by: John Tur <john-tur@outlook.com>
Co-authored-by: Ben Kunkle <ben@zed.dev>
```

## Parents

- [511d1974775d7ce102b799f623ee0b33ed26300f](https://git.cafe/gitcafe/zed/commit/511d1974775d7ce102b799f623ee0b33ed26300f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/cafbf4b5df7fedb67fc0f248850a5654efcec5d9?format=markdown)
