PeerTube/scripts/watch/server.sh

6 lines
174 B
Bash
Executable File

#!/usr/bin/env sh
NODE_ENV=test concurrently \
"npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \
"npm run tsc -- --sourceMap -w"