aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-01-03 16:37:16 +0100
committerChocobozzz <me@florianbigard.com>2022-01-03 16:37:16 +0100
commit9270bd3a7e6802b99a6ab12910c6c702d290fd4b (patch)
tree8b705faa2fc08d9d5a8b6fc3e0ab27555b5b019c /scripts
parent36ebdfac6e3cc6296a3049eb44e0621e72b6a184 (diff)
downloadPeerTube-9270bd3a7e6802b99a6ab12910c6c702d290fd4b.tar.gz
PeerTube-9270bd3a7e6802b99a6ab12910c6c702d290fd4b.tar.zst
PeerTube-9270bd3a7e6802b99a6ab12910c6c702d290fd4b.zip
Migrate to --enable-source-maps option
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dev/server.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dev/server.sh b/scripts/dev/server.sh
index 07d88eb2f..468af0a56 100755
--- a/scripts/dev/server.sh
+++ b/scripts/dev/server.sh
@@ -5,7 +5,7 @@ set -eu
5if [ ! -f "./client/dist/en-US/index.html" ]; then 5if [ ! -f "./client/dist/en-US/index.html" ]; then
6 if [ -z ${1+x} ] || [ "$1" != "--skip-client" ]; then 6 if [ -z ${1+x} ] || [ "$1" != "--skip-client" ]; then
7 echo "client/dist/en-US/index.html does not exist, compile client files..." 7 echo "client/dist/en-US/index.html does not exist, compile client files..."
8 npm run build:client -- --light 8 npm run build:client
9 fi 9 fi
10fi 10fi
11 11
@@ -24,5 +24,5 @@ cp -r ./server/static ./server/assets ./dist/server
24cp -r "./server/lib/emails" "./dist/server/lib" 24cp -r "./server/lib/emails" "./dist/server/lib"
25 25
26NODE_ENV=test node node_modules/.bin/concurrently -k \ 26NODE_ENV=test node node_modules/.bin/concurrently -k \
27 "node_modules/.bin/nodemon --delay 1 --watch ./dist dist/server" \ 27 "node_modules/.bin/nodemon --enable-source-maps --delay 1 --watch ./dist dist/server" \
28 "node_modules/.bin/tsc -b -w --preserveWatchOutput" 28 "node_modules/.bin/tsc -b -w --preserveWatchOutput"