open-in-browsers icon indicating copy to clipboard operation
open-in-browsers copied to clipboard

Refresh page in browser if already open.

Open JohnLukeBentley opened this issue 9 years ago • 3 comments

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.

JohnLukeBentley avatar May 26 '16 06:05 JohnLukeBentley

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

skandasoft avatar May 26 '16 14:05 skandasoft

I'll do the research and let you know.

JohnLukeBentley avatar May 26 '16 14:05 JohnLukeBentley

Works for Chrome

skandasoft avatar Jun 09 '17 13:06 skandasoft