don't watch git folder
This commit is contained in:
parent
d04a6cc679
commit
02557783c1
|
@ -3,7 +3,7 @@ pkgs.writeShellScriptBin "watch" ''
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
${cmd} &
|
${cmd} &
|
||||||
${pkgs.inotify-tools}/bin/inotifywait -e modify -r .
|
${pkgs.inotify-tools}/bin/inotifywait -e modify -r . --exclude .git
|
||||||
pkill ${pname}
|
pkill ${pname}
|
||||||
done
|
done
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue