1 2 3 4 5 6 7 8
#!/usr/bin/env sh if [ ! -d "./client/dist" ]; then echo "client/dist does not exist, compile client files..." npm run build:client fi npm run watch:server