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 bff26cb4b..3130f1d87 100755 --- a/scripts/dev/server.sh +++ b/scripts/dev/server.sh | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/usr/bin/env sh | 1 | #!/usr/bin/env sh |
2 | 2 | ||
3 | if [ ! -d "./client/dist" ]; then | 3 | if [ ! -f "./client/dist/index.html" ]; then |
4 | echo "client/dist does not exist, compile client files..." | 4 | echo "client/dist/index.html does not exist, compile client files..." |
5 | npm run build:client | 5 | npm run build:client |
6 | fi | 6 | fi |
7 | 7 | ||