PeerTube/scripts/watch/server.sh

6 lines
174 B
Bash
Raw Normal View History

2017-06-11 04:29:03 -05:00
#!/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"