2018-03-27 10:35:12 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -eu
|
2017-06-11 11:29:03 +02:00
|
|
|
|
2018-06-06 14:23:40 +02:00
|
|
|
# Copy locales
|
|
|
|
mkdir -p "./client/dist"
|
|
|
|
rm -r "./client/dist/locale"
|
|
|
|
cp -r "./client/src/locale/target" "./client/dist/locale"
|
|
|
|
|
2018-06-07 16:50:33 +02:00
|
|
|
NODE_ENV=test npm run concurrently -- -k \
|
2017-06-11 11:29:03 +02:00
|
|
|
"npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \
|
2018-04-17 10:35:08 +02:00
|
|
|
"npm run tsc -- --sourceMap --preserveWatchOutput -w"
|