diff options
author | Chocobozzz <me@florianbigard.com> | 2022-01-03 16:37:16 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-01-03 16:37:16 +0100 |
commit | 9270bd3a7e6802b99a6ab12910c6c702d290fd4b (patch) | |
tree | 8b705faa2fc08d9d5a8b6fc3e0ab27555b5b019c /scripts | |
parent | 36ebdfac6e3cc6296a3049eb44e0621e72b6a184 (diff) | |
download | PeerTube-9270bd3a7e6802b99a6ab12910c6c702d290fd4b.tar.gz PeerTube-9270bd3a7e6802b99a6ab12910c6c702d290fd4b.tar.zst PeerTube-9270bd3a7e6802b99a6ab12910c6c702d290fd4b.zip |
Migrate to --enable-source-maps option
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dev/server.sh | 4 |
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 | |||
5 | if [ ! -f "./client/dist/en-US/index.html" ]; then | 5 | if [ ! -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 |
10 | fi | 10 | fi |
11 | 11 | ||
@@ -24,5 +24,5 @@ cp -r ./server/static ./server/assets ./dist/server | |||
24 | cp -r "./server/lib/emails" "./dist/server/lib" | 24 | cp -r "./server/lib/emails" "./dist/server/lib" |
25 | 25 | ||
26 | NODE_ENV=test node node_modules/.bin/concurrently -k \ | 26 | NODE_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" |