GitHub 火线榜

GitHub 火线榜 · 仓库档案

eradman/entr

Run arbitrary commands when files change (简介来自仓库自身文档。)

C#inotify#kqueue#test-automation

数据截至 10月28日eradman

最好成绩

#372

总榜 · C 语言

5720

累计 Star

127

Fork 总数

0

近 30 天在榜天数

许可证: NOASSERTION最近 push: 10月16日Open Issues(含 PR): 0自 2026-10-25 起采集;未知 = 尚未采集到

项目文档

Event Notify Test Runner

A utility for running arbitrary commands when files change. Uses kqueue(2) or inotify(7) to avoid polling. entr was written to facilitate rapid feedback on the command line.

Source Installation - BSD, Mac OS, and Linux

./configure
make test
make install

To see available build options run ./configure -h

Docker and WSL

Incomplete inotify support on Windows Subsystem for Linux and Docker for Mac may cause entr to respond incorrectly. Setting the environment variable ENTR_INOTIFY_WORKAROUND enables entr to operate in these environments.

Platform Features

On Mac OS and Linux, symlinks are not followed unless the environment variable ENTR_FOLLOW_SYMLINK is set.

Man Page Examples

Rebuild a project if source files change, limiting output to the first 20 lines:

$ find src/ | entr -s 'make | head -n 20'

Launch and auto-reload a node.js server:

$ ls *.js | entr -r node app.js

Clear the screen and run a query after the SQL script is updated:

$ echo my.sql | entr -cp psql -f /_

Rebuild project if a source file is modified or added to the src/ directory:

$ while sleep 0.1; do ls src/*.rb | entr -d make; done

Auto-reload a web server, or terminate if the server exits

$ ls * | entr -rz ./httpd

News

Notification of new releases are provided by an Atom feed, and release history is covered in the NEWS file.

当前上榜

  • 372

    总榜 · 史上最强 · C

    5720 星 · 127 fork · 累计 Star

    总榜 · C →

近 30 天势头

近 30 天没有上榜记录。

把上榜徽章放进你的 README · eradman/entr[![把上榜徽章放进你的 README](https://git.vaiox.xyz/api/badge/eradman/entr.svg)](https://git.vaiox.xyz/zh/repo/eradman/entr)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/zh/repo/eradman/entr"><img src="https://git.vaiox.xyz/api/badge/eradman/entr.svg" alt="把上榜徽章放进你的 README" height="20"></a>

← 回到榜单

GitHub 火线榜往日榜发现联系我们 · Contact