Favicon of entr

entr

Run arbitrary commands automatically when files change using efficient kqueue or inotify monitoring. Perfect for rapid development feedback loops and auto-reloading servers.

A lightweight utility that executes commands whenever your files change, using efficient system-level monitoring instead of polling. Built with kqueue(2) on BSD/Mac and inotify(7) on Linux, entr delivers instant feedback for developers working on the command line.

Key capabilities:

  • Automatically rebuild projects when source files are modified
  • Auto-reload development servers with the -r flag
  • Clear screen and re-run commands with -c option
  • Restart processes on file changes using -z flag
  • Limit output and chain commands for cleaner workflows
  • Works across BSD, Mac OS, Linux, Docker, and WSL environments

Common use cases include rebuilding projects with live output limiting, launching auto-reloading Node.js servers, re-executing database queries when SQL scripts update, and monitoring directories for new or modified files. The tool integrates seamlessly into development workflows, eliminating manual re-runs and accelerating the edit-test cycle. Perfect for test runners, build systems, and any development process requiring immediate feedback on file changes.

Features

Async I/OScriptable

Media

Pros

4
  • Efficient file change monitoring using kqueue or inotify
  • Automates command execution based on file changes
  • Supports rapid development feedback loops
  • Can auto-reload servers

Cons

1
  • Incomplete inotify support on WSL and Docker for Mac may require workarounds.

Related tools

Categories:

Share:

  • Stars


    5,613
  • Forks


    124
  • Last commit


    15 days ago
  • First release


    8 years
  • Language


    C

Auto-fetched .

Similar to entr

Favicon

 

  
 
Favicon

 

  
 
Favicon