@nativescript/vite 0.0.1-alpha.5 → 0.0.1-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -267,7 +267,7 @@ export const baseConfig = ({ mode }) => {
|
|
|
267
267
|
? {
|
|
268
268
|
// Expose dev server to local network so simulator or device can connect
|
|
269
269
|
host: process.env.NS_HMR_HOST ||
|
|
270
|
-
(platform === "android" ? "
|
|
270
|
+
(platform === "android" ? "0.0.0.0" : "localhost"),
|
|
271
271
|
// Use a stable port so the device URL remains correct
|
|
272
272
|
port: 5173,
|
|
273
273
|
strictPort: true,
|