antr

Crates.ioantr
lib.rsantr
version0.4.0
sourcesrc
created_at2019-09-07 19:42:32.478456
updated_at2019-09-07 19:42:32.478456
descriptionA simple to use file system event watcher that runs arbitrary commands
homepage
repositoryhttps://github.com/juanibiapina/antr
max_upload_size
id163055
size29,389
Juan Ibiapina (juanibiapina)

documentation

README

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
Commit count: 42

cargo fmt