diff options
| -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 |
![]() |
index : dotfiles | |
| my configuration files | marc |
| summaryrefslogtreecommitdiff |
| -rwxr-xr-x | bin/dw | 10 |
@@ -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 |