You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d8f085b
Browse filesBrowse the repository at this point in the historyBrowse files
feat(vite): give every device the LAN origin when NS_HMR_PREFER_LAN_HOST is set
In `@nativescript/vite`, `NS_HMR_PREFER_LAN_HOST` meant "use this Mac's
LAN address", ahead of adb reverse and the platform defaults. With the
origin chosen per device by the CLI, it keeps that meaning: no adb
reverse and no USB tunnel are set up, and every device gets the LAN
address unless `NS_HMR_HOST` is set. Without a LAN address the usual
routes apply.
`NS_HMR_NO_ADB_REVERSE` on its own only skips the reverse, so an
emulator still gets 10.0.2.2 and a physical device the LAN address.
0 commit comments