PeerTube/scripts/watch/server.sh
2018-04-17 10:35:08 +02:00

8 lines
200 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 --preserveWatchOutput -w"