aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/dev/peertube-runner.sh
blob: e392593721cf0f72206dbb1c1c85bfe7f712b92a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                                                                                                             
#!/bin/bash

set -eu

rm -rf ./packages/peertube-runner/dist

cd ./packages/peertube-runner

../../node_modules/.bin/concurrently -k \
  "../../node_modules/.bin/tsc -w --noEmit" \
  "./node_modules/.bin/esbuild ./peertube-runner.ts --bundle --sourcemap --platform=node --external:"./lib-cov/fluent-ffmpeg" --external:pg-hstore --watch --outfile=dist/peertube-runner.js"