]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/watch/server.sh
Localize player
[github/Chocobozzz/PeerTube.git] / scripts / watch / server.sh
index 6250fb9a423e4ce6d6936371a43191131f08f487..badbf3da0dacf9c11a1212c47c3732b11cffe688 100755 (executable)
@@ -2,6 +2,11 @@
 
 set -eu
 
+# Copy locales
+mkdir -p "./client/dist"
+rm -r "./client/dist/locale"
+cp -r "./client/src/locale/target" "./client/dist/locale"
+
 NODE_ENV=test concurrently -k \
   "npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \
   "npm run tsc -- --sourceMap --preserveWatchOutput -w"