mirror of https://github.com/Chocobozzz/PeerTube
Fix dev mode
This commit is contained in:
parent
1f7bc0dd61
commit
02e51e2d75
|
@ -9,6 +9,9 @@ cp -r "./client/src/locale/target" "./client/dist/locale"
|
||||||
|
|
||||||
rm -rf "./dist"
|
rm -rf "./dist"
|
||||||
|
|
||||||
|
mkdir "./dist"
|
||||||
|
cp "./tsconfig.json" "./dist"
|
||||||
|
|
||||||
NODE_ENV=test npm run concurrently -- -k \
|
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"
|
"npm run tsc -- --sourceMap --preserveWatchOutput -w"
|
||||||
|
|
Loading…
Reference in New Issue