]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/dev/server.sh
Nginx config file: remove text/html from gzip_types
[github/Chocobozzz/PeerTube.git] / scripts / dev / server.sh
1 #!/bin/sh
2
3 set -eu
4
5 if [ ! -f "./client/dist/en_US/index.html" ]; then
6 echo "client/dist/en_US/index.html does not exist, compile client files..."
7 npm run build:client
8 fi
9
10 npm run watch:server