From 9270bd3a7e6802b99a6ab12910c6c702d290fd4b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 3 Jan 2022 16:37:16 +0100 Subject: Migrate to --enable-source-maps option --- scripts/dev/server.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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 if [ ! -f "./client/dist/en-US/index.html" ]; then if [ -z ${1+x} ] || [ "$1" != "--skip-client" ]; then echo "client/dist/en-US/index.html does not exist, compile client files..." - npm run build:client -- --light + npm run build:client fi fi @@ -24,5 +24,5 @@ cp -r ./server/static ./server/assets ./dist/server cp -r "./server/lib/emails" "./dist/server/lib" NODE_ENV=test node node_modules/.bin/concurrently -k \ - "node_modules/.bin/nodemon --delay 1 --watch ./dist dist/server" \ + "node_modules/.bin/nodemon --enable-source-maps --delay 1 --watch ./dist dist/server" \ "node_modules/.bin/tsc -b -w --preserveWatchOutput" -- cgit v1.2.3