From 02557783c1321d312b8dde70bbd69a43f350e419 Mon Sep 17 00:00:00 2001 From: tristan Date: Tue, 2 Jan 2024 08:51:27 +0000 Subject: [PATCH] don't watch git folder --- testing/watch.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/watch.nix b/testing/watch.nix index 5ac1e59..dfec78d 100644 --- a/testing/watch.nix +++ b/testing/watch.nix @@ -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 ''