gcollazo / BrowserRefresh-Sublime

This plugin will switch from ST2 and ST3 to Google Chrome, Google Chrome Canary, Safari, Firefox or Opera and reload the active tab
http://gcollazo.github.com/BrowserRefresh-Sublime
565 stars 62 forks source link

Not working (Mac OS X 10.8.5) #43

Open juancpgo opened 10 years ago

juancpgo commented 10 years ago

Not working. I use Mac OS Lion, Sublime 2, and I've tested several times with Chrome, Canary and Safari without success.

ghost commented 10 years ago

I confirm I have issue with Google Chrome Version 32.0.1700.41 beta on Mac I tried to add Canary but it's not working at all with Chrome.

But for Safari+Firefox the extension works perfectly.

gcollazo commented 10 years ago

Are you using Parallels Desktop, there seems be an issue with that for some strange reason? If you are can you disable application sharing? I believe that's the feature that integrates windows apps on your mac desktop?

Also can you try these commands on the terminal and tell me the output?

# 1. Check if you have the osascript command
which osascript

# 2. This command should bring Chrome to the foreground.
osascript -e 'tell application "Google Chrome" to activate'

# 3. This command should bring Chrome to the foreground and reload the active tab.
curl https://gist.github.com/gcollazo/d8d17f6e46505f9f2f93/raw/ | osascript $1
ghost commented 10 years ago

Yes the problem was the Parallels Desktop App Sharing. When I run the Command #2 it starts the virtual machine. Problem solved :+1:

jayhilwig commented 10 years ago

Yes the problem for me was installing Chrome under Windows via Parallels Desktop (same as maxime-cruding in comment above). When I run the Command #2 (osascript -e 'tell application "Google Chrome" to activate') it starts the virtual machine/Parallels.

To disable Application Sharing in Parallels, see here: http://download.parallels.com/desktop/v4/docs/en/Parallels_Desktop_Users_Guide/23692.htm