# Listen

> Ruby gem that watches files for changes

Source: https://talira.ai/catalog/listen-bmq8z97r
Every listing: https://talira.ai/catalog.md

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

Listen is a Ruby gem that watches directories and tells you which files were modified, added or removed. It uses OS-optimised adapters on macOS, Linux, BSD and Windows, falls back to polling where needed, watches several directories at once and ignores paths by regular expression. Its callback gets the lists of changed files, and options cover latency, forcing polling and adapter warnings. It lives in the same GitHub organisation as [Guard](https://talira.ai/catalog/guard-bcktzq0h.md).

## Links

- GitHub: https://github.com/guard/listen

## Problems it solves

- run code in Ruby when a file in a directory changes
- watch a folder for added or deleted files from a Ruby script
- reload my Ruby app when source files change

## Features

- Detects file modification, addition and removal
- OS-optimised adapters for macOS, Linux, BSD and Windows
- Polling fallback when no adapter works
- Watch several directories at once
- Ignore paths by regular expression

## Limitations

- Network and shared filesystems (NFS, Samba, sshfs, Vagrant shared folders) need polling.[^1]
- Symlinks are always followed, and symlinked directories pointing inside a watched directory aren't supported.[^1]
- Listeners don't notify across forked processes; each process must listen itself.[^1]

## Trust

Overall: 0.48 out of 1.
Signals: maintenance 0.56, adoption 0.66, momentum 0.32, community 0.80, backing 0.30, extensibility 0.00.

- last commit 59 days ago
- 16 commits in the last 90 days
- latest release v3.10.1 59 days ago
- 2.0k GitHub stars
- 100 contributors
- backed by Guard

## Sources

[^1]: https://github.com/guard/listen/blob/master/README.md (checked 28 Nov 2026)
[^2]: https://github.com/guard/listen/blob/master/LICENSE.txt (checked 28 Nov 2026)
