jsoverson / grunt-open

Open urls and files from a grunt task
MIT License
110 stars 19 forks source link

option to reuse tab each time open is called (might require browser plugin) #12

Open dylang opened 10 years ago

dylang commented 10 years ago

Unless you are diligent about closing new tabs, starting and killing grunt many times while debugging eventually the browser will have a sea of identical tabs.

It would be nice if there was an option to request the browser to "reuse" the same tab each time grunt-open was used.

I haven't looked to see if browsers have this option on the command line. I'm guessing it's not possible to request the browser uses the same tab the way target="name" works on <a href.., so this might require a browser extension.

Other ideas how to prevent the sea of tabs from happening?

jsoverson commented 10 years ago

I know the frustration but don't know a solution. If anyone finds one, please post or submit a PR.

ttdmayshark commented 10 years ago

+1

mike-spainhower commented 10 years ago

:+1:

dylang commented 10 years ago

Maybe this can solve it, at least for Mac users.

https://github.com/prasmussen/chrome-cli

mokkabonna commented 10 years ago

+1 but suspect it's hard to do. Currently I'm not using open because of this.

generalov commented 10 years ago

Here is an issue for Chromium https://code.google.com/p/chromium/issues/detail?id=141942

generalov commented 10 years ago

It seems that it is possible to reload tabs in Chrome through the remote debugger https://gist.github.com/generalov/9778791 .

LeonardoGentile commented 10 years ago

+1

yamsellem commented 9 years ago

+1

LeonardoGentile commented 9 years ago

not related to grunt but I've kinda solved with this: https://github.com/LeonardoGentile/chrome-duplicate-tab-detector

Falven commented 8 years ago

+1