PeerTube/scripts/dev/server.sh

9 lines
162 B
Bash
Executable File

#!/usr/bin/env sh
if [ ! -d "./client/dist" ]; then
echo "client/dist does not exist, compile client files..."
npm run build:client
fi
npm run watch:server