aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/dev/server.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-01-22 10:00:38 +0100
committerChocobozzz <me@florianbigard.com>2020-01-22 10:18:57 +0100
commit36619ac8f50daf51a46658f0b530495ba3a0b6bf (patch)
tree408be5f4667bddc31cfe4b918d20f773d106f632 /scripts/dev/server.sh
parent11c4e3606664239f0b21bf04f31020550ceba2f2 (diff)
downloadPeerTube-36619ac8f50daf51a46658f0b530495ba3a0b6bf.tar.gz
PeerTube-36619ac8f50daf51a46658f0b530495ba3a0b6bf.tar.zst
PeerTube-36619ac8f50daf51a46658f0b530495ba3a0b6bf.zip
Reduce dev commands RAM usage
Diffstat (limited to 'scripts/dev/server.sh')
-rwxr-xr-xscripts/dev/server.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/dev/server.sh b/scripts/dev/server.sh
index a7fa88fbd..b09a966dd 100755
--- a/scripts/dev/server.sh
+++ b/scripts/dev/server.sh
@@ -20,6 +20,6 @@ cp "./tsconfig.json" "./dist"
20npm run tsc -- --incremental --sourceMap 20npm run tsc -- --incremental --sourceMap
21cp -r ./server/static ./server/assets ./dist/server 21cp -r ./server/static ./server/assets ./dist/server
22 22
23NODE_ENV=test npm run concurrently -- -k \ 23NODE_ENV=test node node_modules/.bin/concurrently -k \
24 "npm run nodemon -- --delay 1 --watch ./dist dist/server" \ 24 "node_modules/.bin/nodemon --delay 1 --watch ./dist dist/server" \
25 "npm run tsc -- --incremental --sourceMap --preserveWatchOutput -w" 25 "node_modules/.bin/tsc --incremental --sourceMap --preserveWatchOutput -w"