]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/dev/server.sh
5 if [ ! -f "./client/dist/en-US/index.html" ]; then
6 echo "client/dist/en-US/index.html does not exist, compile client files..."
7 npm run build
:client
-- --light
11 mkdir -p "./client/dist"
12 rm -rf "./client/dist/locale"
13 cp -r "./client/src/locale" "./client/dist/locale"
18 cp "./tsconfig.json" "./dist"
20 npm run tsc
-- --incremental --sourceMap
21 cp -r .
/server
/static .
/server
/assets .
/dist
/server
23 NODE_ENV
=test npm run concurrently
-- -k \
24 "npm run nodemon -- --delay 1 --watch ./dist dist/server" \
25 "npm run tsc -- --incremental --sourceMap --preserveWatchOutput -w"