don't watch git folder

This commit is contained in:
tristan 2024-01-02 08:51:27 +00:00
parent d04a6cc679
commit 02557783c1

View file

@ -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
''