aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/watch/server.sh
diff options
context:
space:
mode:
authorLéo Andrès <leo@ndrs.fr>2018-03-27 09:35:12 +0100
committerChocobozzz <me@florianbigard.com>2018-03-27 10:35:12 +0200
commit0e4ffb4b678962d5ff7a4a7d8952033bc84725da (patch)
treeb116dfe4244f645aa1c4740039544010ef7c3194 /scripts/watch/server.sh
parentd5b7d9110dd637a7f67ce9e430145314812a8df1 (diff)
downloadPeerTube-0e4ffb4b678962d5ff7a4a7d8952033bc84725da.tar.gz
PeerTube-0e4ffb4b678962d5ff7a4a7d8952033bc84725da.tar.zst
PeerTube-0e4ffb4b678962d5ff7a4a7d8952033bc84725da.zip
Clean shell scripts (#398)
Diffstat (limited to 'scripts/watch/server.sh')
-rwxr-xr-xscripts/watch/server.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/watch/server.sh b/scripts/watch/server.sh
index 448f69552..42a594d85 100755
--- a/scripts/watch/server.sh
+++ b/scripts/watch/server.sh
@@ -1,4 +1,6 @@
1#!/usr/bin/env sh 1#!/bin/sh
2
3set -eu
2 4
3NODE_ENV=test concurrently -k \ 5NODE_ENV=test concurrently -k \
4 "npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \ 6 "npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \