2020-02-19 08:57:32 +01:00
|
|
|
#!/bin/bash
|
2019-12-17 15:33:58 +01:00
|
|
|
|
|
|
|
set -eu
|
|
|
|
|
2019-12-18 15:40:42 +01:00
|
|
|
if [ ! -z ${1+x} ]; then
|
2019-12-18 11:01:59 +01:00
|
|
|
clientCommand="npm run build:client -- $1"
|
|
|
|
else
|
|
|
|
clientCommand="npm run build:client"
|
|
|
|
fi
|
|
|
|
|
2019-12-18 15:40:42 +01:00
|
|
|
npm run concurrently -- --raw \
|
2019-12-18 11:01:59 +01:00
|
|
|
"$clientCommand" \
|
2019-12-17 15:33:58 +01:00
|
|
|
"npm run build:server"
|