PeerTube/scripts/dev/server.sh

11 lines
208 B
Bash
Raw Normal View History

2018-03-27 10:35:12 +02:00
#!/bin/sh
set -eu
2017-06-11 11:29:03 +02:00
2018-06-29 09:33:36 +02:00
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
2017-06-11 11:29:03 +02:00
fi
npm run watch:server