From f86140c7e4926a5c2ff7a5ced00e57c1b48994e0 Mon Sep 17 00:00:00 2001 From: Joel Bradshaw Date: Fri, 27 Nov 2020 17:39:15 -0800 Subject: [PATCH] Move -x down to eliminate pointless noise --- bw-dev | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bw-dev b/bw-dev index a6a1f326d..993520c4e 100755 --- a/bw-dev +++ b/bw-dev @@ -12,9 +12,6 @@ trap showerr EXIT source .env trap - EXIT -# show commands as they're executed -set -x - function clean { docker-compose stop docker-compose rm -f @@ -40,6 +37,10 @@ function initdb { CMD=$1 shift + +# show commands as they're executed +set -x + case "$CMD" in up) docker-compose up --build