aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/dev/server.sh
blob: b4675c57f54c3d8b3a4f609e9382f40d9291d079 (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 -- --light
fi

npm run watch:server