]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - scripts/watch/server.sh
Import magnets with webtorrent
[github/Chocobozzz/PeerTube.git] / scripts / watch / server.sh
CommitLineData
0e4ffb4b
LA
1#!/bin/sh
2
3set -eu
66dd264f 4
e945b184
C
5# Copy locales
6mkdir -p "./client/dist"
c0f713ce 7rm -rf "./client/dist/locale"
e945b184
C
8cp -r "./client/src/locale/target" "./client/dist/locale"
9
6cca7360 10NODE_ENV=test npm run concurrently -- -k \
66dd264f 11 "npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \
cc1561f9 12 "npm run tsc -- --sourceMap --preserveWatchOutput -w"