rerun

command module
v0.0.0-...-a95bf39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 12 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package exec provides osexec.Cmd with partial args.
Package exec provides osexec.Cmd with partial args.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL