We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a7f78e commit b9c9aedCopy full SHA for b9c9aed
packages/react-dev-utils/openChrome.applescript
@@ -23,7 +23,7 @@ on run argv
23
set theTabIndex to 0
24
repeat with theTab in every tab of theWindow
25
set theTabIndex to theTabIndex + 1
26
- if theTab's URL is theURL then
+ if theTab's URL as string contains theURL then
27
set found to true
28
exit repeat
29
end if
@@ -38,6 +38,7 @@ on run argv
38
tell theTab to reload
39
set index of theWindow to 1
40
set theWindow's active tab index to theTabIndex
41
+ tell theWindow to activate
42
else
43
tell window 1
44
activate
0 commit comments