Fix dev mode

pull/2166/head
Chocobozzz 2019-10-22 08:55:05 +02:00
parent 1f7bc0dd61
commit 02e51e2d75
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,9 @@ cp -r "./client/src/locale/target" "./client/dist/locale"
rm -rf "./dist"
mkdir "./dist"
cp "./tsconfig.json" "./dist"
NODE_ENV=test npm run concurrently -- -k \
"npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \
"npm run tsc -- --sourceMap && cp -r ./server/static ./server/assets ./dist/server && npm run nodemon -- --delay 2 --watch ./dist dist/server" \
"npm run tsc -- --sourceMap --preserveWatchOutput -w"