Fix build script
This commit is contained in:
parent
ba430d7516
commit
e43ed96ef4
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue