diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-06 14:23:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-06 16:48:40 +0200 |
commit | e945b184a0f29b47c33bbd05578f3493ca9c8e6c (patch) | |
tree | 46c821006d170e6e28658d978e313761adfaf55a /scripts/watch | |
parent | 550a562ceca45ea78d6f7054024c8d3a6b89c30c (diff) | |
download | PeerTube-e945b184a0f29b47c33bbd05578f3493ca9c8e6c.tar.gz PeerTube-e945b184a0f29b47c33bbd05578f3493ca9c8e6c.tar.zst PeerTube-e945b184a0f29b47c33bbd05578f3493ca9c8e6c.zip |
Localize player
Diffstat (limited to 'scripts/watch')
-rwxr-xr-x | scripts/watch/server.sh | 5 |
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 | ||
3 | set -eu | 3 | set -eu |
4 | 4 | ||
5 | # Copy locales | ||
6 | mkdir -p "./client/dist" | ||
7 | rm -r "./client/dist/locale" | ||
8 | cp -r "./client/src/locale/target" "./client/dist/locale" | ||
9 | |||
5 | NODE_ENV=test concurrently -k \ | 10 | NODE_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" |