aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/dev/server.sh
blob: 9b8fddac6595c2c68a225a65e415bad0315f4781 (plain) (tree)
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
fi

npm run watch:server