PeerTube/scripts/dev/cli.sh

17 lines
337 B
Bash
Raw Normal View History

2020-02-19 01:56:24 -06:00
#!/bin/bash
set -eu
rm -rf ./dist/server/tools/
(
cd ./server/tools
yarn install --pure-lockfile
)
mkdir -p "./dist/server/tools"
cp -r "./server/tools/node_modules" "./dist/server/tools"
cd ./server/tools
2022-09-28 07:55:15 -05:00
../../node_modules/.bin/tsc-watch --build --verbose --onSuccess 'sh -c "cd ../../ && npm run resolve-tspaths:server"'