aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/dev/server.sh
blob: beee5b8d49e4aacdd9e22a0eb10712f30dfb2ae3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

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
fi

npm run watch:server