aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/watch
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-06 14:23:40 +0200
committerChocobozzz <me@florianbigard.com>2018-06-06 16:48:40 +0200
commite945b184a0f29b47c33bbd05578f3493ca9c8e6c (patch)
tree46c821006d170e6e28658d978e313761adfaf55a /scripts/watch
parent550a562ceca45ea78d6f7054024c8d3a6b89c30c (diff)
downloadPeerTube-e945b184a0f29b47c33bbd05578f3493ca9c8e6c.tar.gz
PeerTube-e945b184a0f29b47c33bbd05578f3493ca9c8e6c.tar.zst
PeerTube-e945b184a0f29b47c33bbd05578f3493ca9c8e6c.zip
Localize player
Diffstat (limited to 'scripts/watch')
-rwxr-xr-xscripts/watch/server.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/watch/server.sh b/scripts/watch/server.sh
index 6250fb9a4..badbf3da0 100755
--- a/scripts/watch/server.sh
+++ b/scripts/watch/server.sh
@@ -2,6 +2,11 @@
2 2
3set -eu 3set -eu
4 4
5# Copy locales
6mkdir -p "./client/dist"
7rm -r "./client/dist/locale"
8cp -r "./client/src/locale/target" "./client/dist/locale"
9
5NODE_ENV=test concurrently -k \ 10NODE_ENV=test concurrently -k \
6 "npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \ 11 "npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \
7 "npm run tsc -- --sourceMap --preserveWatchOutput -w" 12 "npm run tsc -- --sourceMap --preserveWatchOutput -w"