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