Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View chrishenzie's full-sized avatar
🏠
Working from home

Chris Henzie chrishenzie

🏠
Working from home
View GitHub Profile
#!/usr/local/bin/bash
set -e
usage() {
cat << EOF
Usage: ./dev.sh [options...]
Options:
-p, --pattern Pattern of files to watch
-s, --sleep Time to wait between scans
-c, --command Command to run when changes are detected