aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/dev/client.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-19 09:14:28 +0100
committerChocobozzz <me@florianbigard.com>2020-02-19 09:14:28 +0100
commit99ae9d3a9eeaf3db5c66bde006aded133757cb17 (patch)
tree523740e445c26edfb3c2aecef39f7c20bb77fe67 /scripts/dev/client.sh
parent302cb3f92e2c4e4dc580e24ad15f5d003f16f285 (diff)
downloadPeerTube-99ae9d3a9eeaf3db5c66bde006aded133757cb17.tar.gz
PeerTube-99ae9d3a9eeaf3db5c66bde006aded133757cb17.tar.zst
PeerTube-99ae9d3a9eeaf3db5c66bde006aded133757cb17.zip
Fix npm run dev
Diffstat (limited to 'scripts/dev/client.sh')
-rwxr-xr-xscripts/dev/client.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dev/client.sh b/scripts/dev/client.sh
index a056b7d7f..e9cade800 100755
--- a/scripts/dev/client.sh
+++ b/scripts/dev/client.sh
@@ -5,7 +5,7 @@ set -eu
5clientCommand="cd client && node node_modules/.bin/ng serve --proxy-config proxy.config.json --hmr --configuration hmr --host 0.0.0.0 --disable-host-check --port 3000" 5clientCommand="cd client && node node_modules/.bin/ng serve --proxy-config proxy.config.json --hmr --configuration hmr --host 0.0.0.0 --disable-host-check --port 3000"
6serverCommand="npm run build:server && NODE_ENV=test node dist/server" 6serverCommand="npm run build:server && NODE_ENV=test node dist/server"
7 7
8if [ ! -z ${1+x} ] && [ "$1" == "--skip-server" ]; then 8if [ ! -z ${1+x} ] && [ "$1" = "--skip-server" ]; then
9 NODE_ENV=test eval $clientCommand 9 NODE_ENV=test eval $clientCommand
10else 10else
11 NODE_ENV=test node node_modules/.bin/concurrently -k \ 11 NODE_ENV=test node node_modules/.bin/concurrently -k \