server.sh 197 B

12345678910
  1. #!/bin/sh
  2. set -eu
  3. if [ ! -f "./client/dist/en_US/index.html" ]; then
  4. echo "client/dist/en_US/index.html does not exist, compile client files..."
  5. npm run build:client
  6. fi
  7. npm run watch:server