]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | ||
3 | set -eu | |
4 | ||
5 | # Copy locales | |
6 | mkdir -p "./client/dist" | |
7 | rm -rf "./client/dist/locale" | |
8 | cp -r "./client/src/locale/target" "./client/dist/locale" | |
9 | ||
10 | rm -rf "./dist" | |
11 | ||
12 | NODE_ENV=test npm run concurrently -- -k \ | |
13 | "npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \ | |
14 | "npm run tsc -- --sourceMap --preserveWatchOutput -w" |