Comments (4)
Please see my response at #37 (comment)
from better-opn.
This issue is not specific to Storybook, better-opn - if I read the source code correctly - literally opens powershell.exe to open a browser tab. Just don't? 🤷🏻♂️ You don't need powershell just to open a browser tab.
If I type on the command prompt:
start https://duckduckgo.com
It will open a tab in my favourite/default browser to go there. Job done. This doesn't need X-many different approaches on Windows.
This will solve similar problems in other packages as well. Not just Storybook.
(In hindsight, I shouldn't have mentioned Storybook maybe. I imagine you took it as reporting a problem here, that existed there, but this problem is NOT specific to Storybook, just to get that clear as day)
from better-opn.
better-opn is created to do one thing and one thing only (that solved my pain point when working on some side projects with GatsbyJS gatsbyjs/gatsby#6550), reuse browser tab on macOS otherwise fallback to the upstream open package. I do not intent or have the bandwidth to maintain a fork of open and implement new features.
Therefore, what you're proposing is out of the scope this project. Would you kindly move the discussion into the upstream open project instead?
from better-opn.
So you're saying on Windows and Linux, better-opn simply doesn't need to exist? That does confirm my finding that I've never seen it reusing any browser tab.
This might be important to know for users of this package.
But even so, I do like to know: why bother with powershell? If this is a macOS-minded package, why do you bother with a Windows feature that isn't even needed?
from better-opn.
Related Issues (13)
- Contribute the features back to upstream `open`? HOT 2
- How to get the opt configuration document ? HOT 5
- Add integration test to see if tab is reused over different run.
- Pass only host to applescript HOT 1
- Instead of opening my default macOS browser, opens Ubuntu VM through Parallels with Chromium HOT 1
- Browser not opened on Windows ARM64 HOT 3
- [feature] Request type file HOT 1
- add googel chrome dev HOT 2
- this url will open twice
- Query on setting the default command shell HOT 1
- Colon-delimitation of commands in `BROWSER` is not respected HOT 1
- Should respect OS user preferences rather than default to a "better" browser
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from better-opn.