Files

13 lines
278 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT_DIR/mobile"
if [[ ! -d node_modules ]]; then
npm install --registry=https://registry.npmmirror.com
fi
exec npm run dev -- --host 127.0.0.1 --port 5174 --strictPort