PeerTube/scripts/dev/server.sh

9 lines
184 B
Bash
Raw Normal View History

2017-06-11 11:29:03 +02:00
#!/usr/bin/env sh
2017-07-06 18:01:02 +02:00
if [ ! -f "./client/dist/index.html" ]; then
echo "client/dist/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