aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/dev/server.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/server.sh
parent302cb3f92e2c4e4dc580e24ad15f5d003f16f285 (diff)
downloadPeerTube-99ae9d3a9eeaf3db5c66bde006aded133757cb17.tar.gz
PeerTube-99ae9d3a9eeaf3db5c66bde006aded133757cb17.tar.zst
PeerTube-99ae9d3a9eeaf3db5c66bde006aded133757cb17.zip
Fix npm run dev
Diffstat (limited to 'scripts/dev/server.sh')
-rwxr-xr-xscripts/dev/server.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/dev/server.sh b/scripts/dev/server.sh
index 187a1843e..680ca3d79 100755
--- a/scripts/dev/server.sh
+++ b/scripts/dev/server.sh
@@ -3,8 +3,10 @@
3set -eu 3set -eu
4 4
5if [ ! -f "./client/dist/en-US/index.html" ]; then 5if [ ! -f "./client/dist/en-US/index.html" ]; then
6 echo "client/dist/en-US/index.html does not exist, compile client files..." 6 if [ -z ${1+x} ] || [ "$1" != "--skip-client" ]; then
7 npm run build:client -- --light 7 echo "client/dist/en-US/index.html does not exist, compile client files..."
8 npm run build:client -- --light
9 fi
8fi 10fi
9 11
10# Copy locales 12# Copy locales