diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-14 13:48:13 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-12-16 10:08:43 +0100 |
commit | 9b3294a8496c89c7880054de1f1f09c9990f1b46 (patch) | |
tree | 4c3271417505ee81c36b1ac23fc2829e5aad432a /scripts/dev/server.sh | |
parent | 75278e289067977291baa7e2ac217e85fc7d6088 (diff) | |
download | PeerTube-9b3294a8496c89c7880054de1f1f09c9990f1b46.tar.gz PeerTube-9b3294a8496c89c7880054de1f1f09c9990f1b46.tar.zst PeerTube-9b3294a8496c89c7880054de1f1f09c9990f1b46.zip |
Fix some build scripts and lint
Diffstat (limited to 'scripts/dev/server.sh')
-rwxr-xr-x | scripts/dev/server.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dev/server.sh b/scripts/dev/server.sh index 5aac470eb..07d88eb2f 100755 --- a/scripts/dev/server.sh +++ b/scripts/dev/server.sh | |||
@@ -19,10 +19,10 @@ rm -rf "./dist" | |||
19 | mkdir "./dist" | 19 | mkdir "./dist" |
20 | cp "./tsconfig.json" "./dist" | 20 | cp "./tsconfig.json" "./dist" |
21 | 21 | ||
22 | npm run tsc -- --incremental --sourceMap | 22 | npm run tsc -- -b -v --incremental |
23 | cp -r ./server/static ./server/assets ./dist/server | 23 | cp -r ./server/static ./server/assets ./dist/server |
24 | cp -r "./server/lib/emails" "./dist/server/lib" | 24 | cp -r "./server/lib/emails" "./dist/server/lib" |
25 | 25 | ||
26 | NODE_ENV=test node node_modules/.bin/concurrently -k \ | 26 | NODE_ENV=test node node_modules/.bin/concurrently -k \ |
27 | "node_modules/.bin/nodemon --delay 1 --watch ./dist dist/server" \ | 27 | "node_modules/.bin/nodemon --delay 1 --watch ./dist dist/server" \ |
28 | "node_modules/.bin/tsc --incremental --sourceMap --preserveWatchOutput -w" | 28 | "node_modules/.bin/tsc -b -w --preserveWatchOutput" |