From 57348a4028c33c227f31de6c5cf0f93369bd4a86 Mon Sep 17 00:00:00 2001 From: Evgen Filatov Date: Tue, 5 May 2015 14:14:49 -0700 Subject: [PATCH] Fixed name of Chome window, Connects to #297 Summary: Hi! I have the same problem as described here https://github.com/facebook/react-native/issues/297 It could occurs after restarting `packager.sh` or `debuger-ui` page. I found simple solution that works for me, but I am not 100% sure it will works for any user with this problem. How could this be tested automatically? Closes https://github.com/facebook/react-native/pull/1101 Github Author: Evgen Filatov Test Plan: Imported from GitHub, without a `Test Plan:` line. --- packager/launchChromeDevTools.applescript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packager/launchChromeDevTools.applescript b/packager/launchChromeDevTools.applescript index 1fe6f4b07..4b718f5bd 100755 --- a/packager/launchChromeDevTools.applescript +++ b/packager/launchChromeDevTools.applescript @@ -10,7 +10,7 @@ on run argv set theURL to item 1 of argv - tell application "Google Chrome" + tell application "Chrome" activate if (count every window) = 0 then