aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/dev/server.sh
blob: bfe322ce1e94ffe7fdc09d79d3af344f8d3fcce8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

         
 
                                                                       


                      
#!/bin/sh

set -eu

if [ ! -f "./client/dist/index.html" ]; then
  echo "client/dist/index.html does not exist, compile client files..."
  npm run build:client
fi

npm run watch:server