]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/dev/server.sh
We need redis >= 2.8.18 now we use Bull
[github/Chocobozzz/PeerTube.git] / scripts / dev / server.sh
index bff26cb4bbac80a5358b0a73c24336bea129a2d7..9b8fddac6595c2c68a225a65e415bad0315f4781 100755 (executable)
@@ -1,7 +1,9 @@
-#!/usr/bin/env sh
+#!/bin/sh
 
-if [ ! -d "./client/dist" ]; then
-  echo "client/dist does not exist, compile client files..."
+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
 fi