diff options
Diffstat (limited to 'scripts/dev/server.sh')
-rwxr-xr-x | scripts/dev/server.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/dev/server.sh b/scripts/dev/server.sh new file mode 100755 index 000000000..bff26cb4b --- /dev/null +++ b/scripts/dev/server.sh | |||
@@ -0,0 +1,8 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | if [ ! -d "./client/dist" ]; then | ||
4 | echo "client/dist does not exist, compile client files..." | ||
5 | npm run build:client | ||
6 | fi | ||
7 | |||
8 | npm run watch:server | ||