-#!/bin/sh
+#!/bin/bash
set -eu
-npm run concurrently -- -k \
- "npm run build:client" \
+if [ ! -z ${1+x} ]; then
+ clientCommand="npm run build:client -- $1"
+else
+ clientCommand="npm run build:client"
+fi
+
+npm run concurrently -- --raw \
+ "$clientCommand" \
"npm run build:server"