aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/index.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/index.sh')
-rwxr-xr-xscripts/build/index.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/scripts/build/index.sh b/scripts/build/index.sh
index bf6ad48eb..09e6f11ad 100755
--- a/scripts/build/index.sh
+++ b/scripts/build/index.sh
@@ -2,12 +2,11 @@
2 2
3set -eu 3set -eu
4 4
5npm run build:server
6
7# Angular does not support project references, it's the reason why we can't builds concurrently
5if [ ! -z ${1+x} ]; then 8if [ ! -z ${1+x} ]; then
6 clientCommand="npm run build:client -- $1" 9 npm run build:client -- $1
7else 10else
8 clientCommand="npm run build:client" 11 npm run build:client
9fi 12fi
10
11npm run concurrently -- --raw \
12 "$clientCommand" \
13 "npm run build:server"