blob: db9129f1aa6d4fe6555a1690af81fed7f9a7d6f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
cmd="$@"
while true; do
$cmd
inotify_result=
while [ -z "$inotify_result" ]; do
inotify_result=$(inotifywait -qre close_write ../src | grep -E '\.(cc|h)$')
done
done
|