]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/build/index.sh
Fix broken replay with long live video name
[github/Chocobozzz/PeerTube.git] / scripts / build / index.sh
1 #!/bin/bash
2
3 set -eu
4
5 if [ ! -z ${1+x} ]; then
6 clientCommand="npm run build:client -- $1"
7 else
8 clientCommand="npm run build:client"
9 fi
10
11 npm run concurrently -- --raw \
12 "$clientCommand" \
13 "npm run build:server"