]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/dev/cli.sh
Stop using tsconfig register
[github/Chocobozzz/PeerTube.git] / scripts / dev / cli.sh
index 4bf4808b8947d14091b8e46f40d26fc0cdc86656..327792a193586bff91f862941638a0fe42f2842c 100755 (executable)
@@ -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 --sourceMap --project ./server/tools/tsconfig.json
+cd ./server/tools
+../../node_modules/.bin/tsc-watch --build --verbose --onSuccess 'sh -c "cd ../../ && npm run resolve-tspaths:all"'