diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-22 10:00:38 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-22 10:18:57 +0100 |
commit | 36619ac8f50daf51a46658f0b530495ba3a0b6bf (patch) | |
tree | 408be5f4667bddc31cfe4b918d20f773d106f632 /scripts/dev/server.sh | |
parent | 11c4e3606664239f0b21bf04f31020550ceba2f2 (diff) | |
download | PeerTube-36619ac8f50daf51a46658f0b530495ba3a0b6bf.tar.gz PeerTube-36619ac8f50daf51a46658f0b530495ba3a0b6bf.tar.zst PeerTube-36619ac8f50daf51a46658f0b530495ba3a0b6bf.zip |
Reduce dev commands RAM usage
Diffstat (limited to 'scripts/dev/server.sh')
-rwxr-xr-x | scripts/dev/server.sh | 6 |
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" | |||
20 | npm run tsc -- --incremental --sourceMap | 20 | npm run tsc -- --incremental --sourceMap |
21 | cp -r ./server/static ./server/assets ./dist/server | 21 | cp -r ./server/static ./server/assets ./dist/server |
22 | 22 | ||
23 | NODE_ENV=test npm run concurrently -- -k \ | 23 | NODE_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" |