#command #events #file #system #watcher #directory

app antr

A simple to use file system event watcher that runs arbitrary commands

1 unstable release

Uses old Rust 2015

0.4.0 Sep 7, 2019

#35 in #watcher

MIT license

8KB
119 lines

antr

antr is a file system events watcher that runs arbitrary commands.

antr watches the current directory and subdiretories for changes. On the event of a change, it clears the screen and runs the passed command.

If the current directory is a git repository, antr will ignore changes to git ignored files.

antr is inspired mainly be entr, with a few differences:

  • Easier usage
  • Only works with the current directory
  • Easier to watch directories for new files
  • Integration with git ignore

Usage

To run make every time there is a file change:

$ antr make

To run a single javascript file:

$ antr node file.js

Dependencies

~11–21MB
~332K SLoC