Skip to content

Instantly share code, notes, and snippets.

@ngauthier
Created February 3, 2012 15:38
Show Gist options
  • Save ngauthier/1730779 to your computer and use it in GitHub Desktop.
Save ngauthier/1730779 to your computer and use it in GitHub Desktop.
Do it live!

Do it live!

Usage

live rake test

This will run rake test and re-run it whenever any file in the directory changes.

#/usr/bin/env sh
clear
$*
while inotifywait -qr -e close_write *; do clear; $*; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment