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