Skip to content

Instantly share code, notes, and snippets.

@smartest
smartest / watch.sh
Last active August 29, 2015 14:03 — forked from mikesmullin/watch.sh
#!/usr/bin/env bash
# script: watch
# author: Mike Smullin <[email protected]>
# license: GPLv3
# description:
# watches the given path for changes
# and executes a given command when changes occur
# usage:
# watch <path> <cmd...>
#