Skip to content

Instantly share code, notes, and snippets.

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