PeerTube/scripts/dev/peertube-runner.sh

12 lines
371 B
Bash
Raw Normal View History

2023-04-21 08:05:27 -05:00
#!/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"