server.sh 184 B

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