dev: improve postgrest-watch experience

* speed up io tests
* avoid infinite loop while watching io tests
* improve auto-complete with postgrest-watch postgrest-run
* detect when files are added or deleted
This commit is contained in:
Wolfgang Walther
2020-12-05 16:47:50 +01:00
committed by Wolfgang Walther
parent 7d6d015822
commit d218a9eaff
6 changed files with 40 additions and 39 deletions
+3 -1
View File
@@ -14,7 +14,9 @@ let
''
rootdir="$(${git}/bin/git rev-parse --show-toplevel)"
${silver-searcher}/bin/ag -l . "$rootdir" | ${entr}/bin/entr -r "$@"
while true; do
(! ${silver-searcher}/bin/ag -l . "$rootdir" | ${entr}/bin/entr -dr "$@")
done
'';
pushCachix =