# fs: Polling backend support \(\#54481\) · gitcafe/zed

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

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

Visibility: public

Requested revision: aeb602dd189763bf7ee062b8ce362de55d32759e

Requested commit: aeb602dd189763bf7ee062b8ce362de55d32759e

Commit: aeb602dd189763bf7ee062b8ce362de55d32759e

Tree: 6c49d8d5fa88ddfa227abbcc6565be8c6519efd4

Author: Ben Kunkle

Committer: GitHub

## Message

```
fs: Polling backend support (#54481)

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 is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #51340
Release Notes:

- Linux/WSL: Added polling filesystem watching support in order to
support file watching on file systems that do emit events through
`inotify`, for example `/mnt/c` in WSL, network filesystems, and FUSE
mounts. Polling should be automatically chosen over `inotify` when
necessary, however it can be manually chosen by setting the
`ZED_FILE_WATCHER_MODE=poll` env var

---------

Co-authored-by: Lilith River <lilith@imazen.io>
Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
```

## Parents

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

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