diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/dw | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ +#!/bin/sh + +# Execute given command when current dir content changes. +# +trap exit SIGINT + +while true; do + fswatch -1 . >/dev/null 2>&1 + "$@" +done |
