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