PeerTube/scripts/dev/server.sh

11 lines
197 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..."
2017-06-11 11:29:03 +02:00
npm run build:client
fi
npm run watch:server