]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/dev/cli.sh
Translated using Weblate (Vietnamese)
[github/Chocobozzz/PeerTube.git] / scripts / dev / cli.sh
index 4b6fe55082ad86e0dbcf23c812d4ce93c6c86744..39ecaad94486cbef4be9cfff18c88ffe786e27ae 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 set -eu
 
@@ -12,4 +12,5 @@ rm -rf ./dist/server/tools/
 mkdir -p "./dist/server/tools"
 cp -r "./server/tools/node_modules" "./dist/server/tools"
 
-npm run tsc -- --watch --project ./server/tools/tsconfig.json
+cd ./server/tools
+../../node_modules/.bin/tsc-watch --build --verbose --onSuccess 'sh -c "cd ../../ && npm run resolve-tspaths:server"'