]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/watch/server.sh
Link to follower profile from administration (#1922)
[github/Chocobozzz/PeerTube.git] / scripts / watch / server.sh
index 42a594d857add582352fe15254586ab36ef84760..f6721a18eaf1e520204ba53a5caba515d732dc4a 100755 (executable)
@@ -2,6 +2,13 @@
 
 set -eu
 
-NODE_ENV=test concurrently -k \
+# Copy locales
+mkdir -p "./client/dist"
+rm -rf "./client/dist/locale"
+cp -r "./client/src/locale/target" "./client/dist/locale"
+
+rm -rf "./dist"
+
+NODE_ENV=test npm run concurrently -- -k \
   "npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \
-  "npm run tsc -- --sourceMap -w"
+  "npm run tsc -- --sourceMap --preserveWatchOutput -w"