]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/dev/server.sh
Apply the fix to both expanded and not expanded, using convention
[github/Chocobozzz/PeerTube.git] / scripts / dev / server.sh
index 187a1843e7b84219137e4f4a11015c39768879d6..680ca3d7915bf608c8c1730701e826575b8612af 100755 (executable)
@@ -3,8 +3,10 @@
 set -eu
 
 if [ ! -f "./client/dist/en-US/index.html" ]; then
-  echo "client/dist/en-US/index.html does not exist, compile client files..."
-  npm run build:client -- --light
+  if [ -z ${1+x} ] || [ "$1" != "--skip-client" ]; then
+    echo "client/dist/en-US/index.html does not exist, compile client files..."
+    npm run build:client -- --light
+  fi
 fi
 
 # Copy locales