diff options
Diffstat (limited to 'scripts/dev')
-rwxr-xr-x | scripts/dev/peertube-runner.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/dev/peertube-runner.sh b/scripts/dev/peertube-runner.sh new file mode 100755 index 000000000..e39259372 --- /dev/null +++ b/scripts/dev/peertube-runner.sh | |||
@@ -0,0 +1,11 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | set -eu | ||
4 | |||
5 | rm -rf ./packages/peertube-runner/dist | ||
6 | |||
7 | cd ./packages/peertube-runner | ||
8 | |||
9 | ../../node_modules/.bin/concurrently -k \ | ||
10 | "../../node_modules/.bin/tsc -w --noEmit" \ | ||
11 | "./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" | ||