chore(dev): run mobile uni through portless
This commit is contained in:
@@ -10,7 +10,7 @@ if [[ ! -d node_modules ]]; then
|
||||
fi
|
||||
|
||||
if [[ "${PORTLESS:-1}" != "0" ]] && command -v portless >/dev/null 2>&1; then
|
||||
exec portless run --name wygj-admin bash -lc 'npm run dev -- --host "${HOST:-127.0.0.1}" --port "$PORT" --strictPort'
|
||||
exec portless run --name wygj-admin --force bash -lc 'npm run dev -- --host "${HOST:-127.0.0.1}" --port "$PORT" --strictPort'
|
||||
fi
|
||||
|
||||
if [[ "${PORTLESS:-1}" != "0" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user