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 <evgen.filatov@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
This commit is contained in:
Evgen Filatov 2015-05-05 14:14:49 -07:00
parent 8a74a9f7c3
commit 57348a4028
1 changed files with 1 additions and 1 deletions

View File

@ -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