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

View File

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