aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/watch/server.sh
blob: 6250fb9a423e4ce6d6936371a43191131f08f487 (plain) (tree)
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 --preserveWatchOutput -w"