Skip to content

Instantly share code, notes, and snippets.

View anirudha-banerjee's full-sized avatar
💻
Things are starting to catch fire.... No time left to lose...

Sissyphus69 anirudha-banerjee

💻
Things are starting to catch fire.... No time left to lose...
View GitHub Profile
@anirudha-banerjee
anirudha-banerjee / watch.sh
Created January 19, 2020 07:15 — forked from mikesmullin/watch.sh
watch is a linux bash script to monitor file modification recursively and execute bash commands as changes occur
#!/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...>
#