Skip to content
A tool that automatically restart a exited commands
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
cmd
docs
handlers
version
.gitignore
.goreleaser.yml
LICENSE
Makefile
go.mod
go.sum
main.go
readme.md

readme.md

rerun CircleCI

A tool that automatically reruns a exited commands

rerun is a tool written in Go that automatically restarts the exited command and keeps running. It's like a simplified supervisor on a development PC.

screencast

Installation

Download binary from below link.

https://github.com/shin1x1/rerun/releases

You can install using go get.

go get -u github.com/shin1x1/rerun

Usage

Specifies the command you want to run after rerun. Reruns the command after 10 seconds when the specified command exited. You can change the number of seconds in the interval with -s .

# Reruns the command after 10 seconds
$ rerun ./sample.sh

# Reruns the command after a second
$ rerun -s 1 ./sample.sh

If the command contains -, add -- before the command.

$ rerun -- kubectl get events -w
You can’t perform that action at this time.