grunt-open
grunt-open copied to clipboard
option to reuse tab each time open is called (might require browser plugin)
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?
I know the frustration but don't know a solution. If anyone finds one, please post or submit a PR.
+1
:+1:
Maybe this can solve it, at least for Mac users.
https://github.com/prasmussen/chrome-cli
+1 but suspect it's hard to do. Currently I'm not using open because of this.
Here is an issue for Chromium https://code.google.com/p/chromium/issues/detail?id=141942
It seems that it is possible to reload tabs in Chrome through the remote debugger https://gist.github.com/generalov/9778791 .
+1
+1
not related to grunt but I've kinda solved with this: https://github.com/LeonardoGentile/chrome-duplicate-tab-detector
+1