Skip to content
/ rerun Public

rerun - commandline tool which runs a command each time files in monitored directory are modified

License

Notifications You must be signed in to change notification settings

jlg/rerun

Repository files navigation

rerun

Rerun any command on change event within observed directory.

test/linux Go Report Card

CLI to repeatedly watch list of paths (including directories) and rerun any command on create/write events within that paths.

Features

  • Buffer events occurring within set time (default -w 100ms)
  • Pass altered files to the command as arguments (by default limited to -s 42)
  • Do not pass any arguments to command -s 0
  • Clear xterm before each rerun -c
  • Multi directories to watch (-d dir1 -d dir2)
  • Blacklist paths using regular expressions (by setting RERUN_BLACKLIST env variable)

Install

go install github.com/jlg/rerun@latest

About

rerun - commandline tool which runs a command each time files in monitored directory are modified

Resources

License

Stars

Watchers

Forks

Languages