X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fclient-report.sh;h=df7ccda276feb896ff5db63cae72982137be887a;hb=d59cba295b7f2ead41e1828c1567e60942476367;hp=4dd4b418b5d43dcc3a43ed7664d8921309844114;hpb=0e4ffb4b678962d5ff7a4a7d8952033bc84725da;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/client-report.sh b/scripts/client-report.sh index 4dd4b418b..df7ccda27 100755 --- a/scripts/client-report.sh +++ b/scripts/client-report.sh @@ -2,6 +2,8 @@ set -eu -cd client +gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/embed-stats.json -npm run webpack-bundle-analyzer ./dist/stats.json +npm run concurrently -- -k \ + "cd client && npm run webpack-bundle-analyzer -- -p 8888 ./dist/en_US/stats.json" \ + "cd client && npm run webpack-bundle-analyzer -- -p 8889 ./dist/embed-stats.json" \ No newline at end of file