-#!/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