skandasoft / open-in-browsers

Open in Different Browsers - IE/Chrome/Firefox/Opera/BrowserPlus
MIT License
21 stars 7 forks source link

Refresh page in browser if already open. #18

Open JohnLukeBentley opened 8 years ago

JohnLukeBentley commented 8 years ago

When in atom and using open-in-browsers a file will open in a new tab (for Chrome, FF, Edge) or a new window (for IE 11).

I suggest this behaviour only occur if the page is not already loaded in the browser. If the page is already loaded in the browser then, so is my suggestion, make that browser and tab activate, and refresh the page.

Edit: Presumably this essentially depends on whether each browser supports this from the command line.

skandasoft commented 8 years ago

you are right. If it is possible from command prompt to open the same ..let me know..

JohnLukeBentley commented 8 years ago

I'll do the research and let you know.

skandasoft commented 7 years ago

Works for Chrome