From 26e5bd3abab77659299e6df9dfa7d948a94fae97 Mon Sep 17 00:00:00 2001 From: Alex <8507196+Fructokinase@users.noreply.github.com> Date: Mon, 25 Nov 2024 09:58:07 -0800 Subject: [PATCH] fix: Update emulator host in dev.nix for IDX (#1893) * IDX emulator implementation was change to localhost:5555 Co-authored-by: alexyfchen --- open-in-idx-template/devNix.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/open-in-idx-template/devNix.j2 b/open-in-idx-template/devNix.j2 index 077e357c4..f11d4f83b 100644 --- a/open-in-idx-template/devNix.j2 +++ b/open-in-idx-template/devNix.j2 @@ -12,11 +12,11 @@ idx = { workspace = { onCreate = { - build-and-wait = "./gradlew assembleDebug && adb -s emulator-5554 wait-for-device"; + build-and-wait = "./gradlew assembleDebug && adb -s localhost:5555 wait-for-device"; default.openFiles = [ "README.md" ]; }; onStart = { - wait-for-adb = "adb -s emulator-5554 wait-for-device"; + wait-for-adb = "adb -s localhost:5555 wait-for-device"; }; }; previews = {