entr

A utility for running arbitrary commands when files change. Uses kqueue(2) or inotify(7) to avoid polling. entr responds to file system events by executing command line arguments or by writing to a FIFO. entr was written to provide to make rapid feedback and automated testing natural and completely ordinary.

  • 所有者: clibs/entr
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

WARNING: This is a (possibly outdated and/or unmaintained) fork of https://bitbucket.org/eradman/entr. If you want to install entr, go to the the original repository to get the latest release. Likewise, to file an issue or a pull request, head over to the the original repository.

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 make rapid feedback and automated testing natural and completely
ordinary.

Installation - BSD, Mac OS, and Linux

./configure
make test
make install

To see available build options run ./configure -h

Installation - Mac OS/Homebrew

brew install entr

Installation - Ports

Available in OpenBSD ports, FreeBSD ports, and pkgsrc under sysutils/entr.

Installation - Debian

apt-get install entr

Examples from man entr

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

$ find src/, entr sh -c '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 -p psql -f /_

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

$ while sleep 1; do ls src/*.rb, entr -d rake; done

News

A release history as well as features in the upcoming release are covered in the
NEWS file.

License

Source is under and ISC-style license. See the LICENSE file for more
detailed information on the license used for compatibility libraries.

主要指标

概览
名称与所有者clibs/entr
主编程语言C
编程语言C (语言数: 3)
平台
许可证Other
所有者活动
创建于2014-07-07 20:55:47
推送于2023-10-04 13:51:56
最后一次提交2023-10-04 09:51:47
发布数73
最新版本名称5.4 (发布于 )
第一版名称entr-1.0 (发布于 )
用户参与
星数612
关注者数10
派生数19
提交数626
已启用问题?
问题数14
打开的问题数2
拉请求数2
打开的拉请求数0
关闭的拉请求数2
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?