From 9f0327aeb39c307ce7da28dda57cc526c928ca62 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 18 Dec 2019 11:01:59 +0100 Subject: Fix build --- scripts/build/index.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'scripts/build') diff --git a/scripts/build/index.sh b/scripts/build/index.sh index fde6efe32..12359e68f 100755 --- a/scripts/build/index.sh +++ b/scripts/build/index.sh @@ -2,6 +2,12 @@ set -eu -npm run concurrently -- -k \ - "npm run build:client" \ +if [[ -n ${1+x} ]]; then + clientCommand="npm run build:client -- $1" +else + clientCommand="npm run build:client" +fi + +npm run concurrently -- --raw \ + "$clientCommand" \ "npm run build:server" -- cgit v1.2.3