diff options
Diffstat (limited to 'scripts/dev/server.sh')
-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" |