mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Remove watch scripts
This commit is contained in:
parent
478924a044
commit
c026a2e673
10 changed files with 42 additions and 33 deletions
|
@ -7,4 +7,19 @@ if [ ! -f "./client/dist/en-US/index.html" ]; then
|
|||
npm run build:client -- --light
|
||||
fi
|
||||
|
||||
npm run watch:server
|
||||
# Copy locales
|
||||
mkdir -p "./client/dist"
|
||||
rm -rf "./client/dist/locale"
|
||||
cp -r "./client/src/locale" "./client/dist/locale"
|
||||
|
||||
rm -rf "./dist"
|
||||
|
||||
mkdir "./dist"
|
||||
cp "./tsconfig.json" "./dist"
|
||||
|
||||
npm run tsc -- --incremental --sourceMap
|
||||
cp -r ./server/static ./server/assets ./dist/server
|
||||
|
||||
NODE_ENV=test npm run concurrently -- -k \
|
||||
"npm run nodemon -- --delay 1 --watch ./dist dist/server" \
|
||||
"npm run tsc -- --incremental --sourceMap --preserveWatchOutput -w"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue