fix: align Windows dev, App compiler, and ASR
This commit is contained in:
@@ -9,8 +9,12 @@ if [[ ! -d node_modules ]]; then
|
||||
npm install --registry=https://registry.npmmirror.com
|
||||
fi
|
||||
|
||||
if [[ -n "${PORTLESS_URL:-}" && -n "${PORT:-}" ]]; then
|
||||
exec npm run dev -- --host "${HOST:-127.0.0.1}" --port "$PORT" --strictPort
|
||||
fi
|
||||
|
||||
if [[ "${PORTLESS:-1}" != "0" ]] && command -v portless >/dev/null 2>&1; then
|
||||
exec portless run --name wygj-admin --force bash -lc 'npm run dev -- --host "${HOST:-127.0.0.1}" --port "$PORT" --strictPort'
|
||||
exec portless run --name wygj-admin --force bash "$ROOT_DIR/scripts/dev-frontend.sh"
|
||||
fi
|
||||
|
||||
if [[ "${PORTLESS:-1}" != "0" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user