]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/build/index.sh
Merge branch 'blacklist' into 'develop'
[github/Chocobozzz/PeerTube.git] / scripts / build / index.sh
index fde6efe320afd8c79730e62a2ff2b4a47b33b737..bf6ad48ebe3fb753986ee436ef64c94d7a8a7ae2 100755 (executable)
@@ -1,7 +1,13 @@
-#!/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"