]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/dev/cli.sh
Fix running again transcoding on a video only file
[github/Chocobozzz/PeerTube.git] / scripts / dev / cli.sh
1 #!/bin/bash
2
3 set -eu
4
5 rm -rf ./dist/server/tools/
6
7 (
8 cd ./server/tools
9 yarn install --pure-lockfile
10 )
11
12 mkdir -p "./dist/server/tools"
13 cp -r "./server/tools/node_modules" "./dist/server/tools"
14
15 cd ./server/tools
16 ../../node_modules/.bin/tsc-watch --build --verbose --onSuccess 'sh -c "cd ../../ && npm run resolve-tspaths:server"'