PeerTube/scripts/watch/server.sh

8 lines
178 B
Bash
Executable File

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