diff options
author | Chocobozzz <me@florianbigard.com> | 2022-01-03 17:13:11 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-01-06 08:26:14 +0100 |
commit | f8360396ffabd2f95e9ece9c5755173bae0114b6 (patch) | |
tree | 83467f70bb5d5c2faa61c45e1d87b538c6c8fe5e /scripts/dev/cli.sh | |
parent | cea093bca5b9d311b5c1d0539d53e965c901015b (diff) | |
download | PeerTube-f8360396ffabd2f95e9ece9c5755173bae0114b6.tar.gz PeerTube-f8360396ffabd2f95e9ece9c5755173bae0114b6.tar.zst PeerTube-f8360396ffabd2f95e9ece9c5755173bae0114b6.zip |
Stop using tsconfig register
Prefer to replace paths at compile time
Diffstat (limited to 'scripts/dev/cli.sh')
-rwxr-xr-x | scripts/dev/cli.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/dev/cli.sh b/scripts/dev/cli.sh index 4bf4808b8..327792a19 100755 --- a/scripts/dev/cli.sh +++ b/scripts/dev/cli.sh | |||
@@ -12,4 +12,5 @@ rm -rf ./dist/server/tools/ | |||
12 | mkdir -p "./dist/server/tools" | 12 | mkdir -p "./dist/server/tools" |
13 | cp -r "./server/tools/node_modules" "./dist/server/tools" | 13 | cp -r "./server/tools/node_modules" "./dist/server/tools" |
14 | 14 | ||
15 | npm run tsc -- --watch --sourceMap --project ./server/tools/tsconfig.json | 15 | cd ./server/tools |
16 | ../../node_modules/.bin/tsc-watch --build --verbose --onSuccess 'sh -c "cd ../../ && npm run resolve-tspaths:all"' | ||