# Chokidar

> Cross-platform file watching library for Node.js

Source: https://talira.ai/catalog/chokidar-wfkbrrjr
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / filesystem](https://talira.ai/categories/libraries/filesystem), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Paul Miller](https://talira.ai/orgs/paul-miller.md)

Chokidar is a small, efficient file watching library for Node.js that smooths over the problems of the raw fs.watch and fs.watchFile APIs. It reports proper add, change and unlink events for files and directories, deduplicated and with paths on every platform, uses native fs.watch by default to keep CPU use down, and falls back to stat-based polling for network and other unusual filesystems. It watches recursively everywhere, with an optional depth limit, path filtering and symlink support, and handles editors' atomic writes and large files written in chunks. It was made for the Brunch build tool in 2012.

## Links

- GitHub: https://github.com/paulmillr/chokidar

## Problems it solves

- watch a folder in my Node app and rebuild when a file changes, the same on macOS, Linux and Windows
- fs.watch fires twice and reports renames instead of changes
- reload my dev server when files change on a network drive

## Features

- add, change, unlink, addDir and unlinkDir events, verified and deduplicated
- native fs.watch by default, stat polling for network filesystems
- recursive watching with depth limits, path filters and symlinks
- handles atomic writes and chunked writes of large files

## Trust

Overall: 0.59 out of 1.
Signals: maintenance 0.69, adoption 0.82, momentum 0.56, community 0.84, backing 0.30, extensibility 0.00.

- last commit 23 days ago
- 14 commits in the last 90 days
- latest release 6.0.0 41 days ago
- 12.3k GitHub stars
- 126 contributors
- accepts sponsorship (Github, Github)
- backed by Paul Miller

## Alternatives

- [Watchman](https://talira.ai/catalog/watchman-cfwycc54.md): A file watching service that records changes and triggers actions

## Sources

[^1]: https://github.com/paulmillr/chokidar/blob/main/README.md (checked 29 Nov 2026)
[^2]: https://github.com/paulmillr/chokidar/blob/main/LICENSE (checked 29 Nov 2026)
