diff options
Diffstat (limited to 'scripts/build/index.sh')
-rwxr-xr-x | scripts/build/index.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/index.sh b/scripts/build/index.sh index 31f2733c3..d7d04fd08 100755 --- a/scripts/build/index.sh +++ b/scripts/build/index.sh | |||
@@ -2,12 +2,12 @@ | |||
2 | 2 | ||
3 | set -eu | 3 | set -eu |
4 | 4 | ||
5 | if [[ -n ${1+x} ]]; then | 5 | if [ ! -z ${1+x} ]; then |
6 | clientCommand="npm run build:client -- $1" | 6 | clientCommand="npm run build:client -- $1" |
7 | else | 7 | else |
8 | clientCommand="npm run build:client" | 8 | clientCommand="npm run build:client" |
9 | fi | 9 | fi |
10 | 10 | ||
11 | npm run concurrently -- --raw \w | 11 | npm run concurrently -- --raw \ |
12 | "$clientCommand" \ | 12 | "$clientCommand" \ |
13 | "npm run build:server" | 13 | "npm run build:server" |