PeerTube/scripts/watch/server.sh

8 lines
178 B
Bash
Raw Normal View History

2018-03-27 10:35:12 +02:00
#!/bin/sh
set -eu
2017-06-11 11:29:03 +02:00
NODE_ENV=test concurrently -k \
2017-06-11 11:29:03 +02:00
"npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \
"npm run tsc -- --sourceMap -w"