aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/watch/server.sh
blob: 42a594d857add582352fe15254586ab36ef84760 (plain) (blame)
1
2
3
4
5
6
7
#!/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"