Fix build script

This commit is contained in:
Chocobozzz 2019-12-18 15:40:42 +01:00
parent ba430d7516
commit e43ed96ef4
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -2,12 +2,12 @@
set -eu set -eu
if [[ -n ${1+x} ]]; then if [ ! -z ${1+x} ]; then
clientCommand="npm run build:client -- $1" clientCommand="npm run build:client -- $1"
else else
clientCommand="npm run build:client" clientCommand="npm run build:client"
fi fi
npm run concurrently -- --raw \w npm run concurrently -- --raw \
"$clientCommand" \ "$clientCommand" \
"npm run build:server" "npm run build:server"