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
+2 -1
View File
@@ -13,6 +13,7 @@
, postgrest
, postgrestStatic
, postgrestProfiled
, procps
, runtimeShell
}:
let
@@ -78,7 +79,7 @@ let
name
''
env="$(cat ${postgrest.env})"
export PATH="$env/bin:${curl}/bin:$PATH"
export PATH="$env/bin:${curl}/bin:${procps}/bin:$PATH"
rootdir="$(${git}/bin/git rev-parse --show-toplevel)"
cd "$rootdir"