-
-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add --no-open-browser cli option #619
Conversation
This option allows to inhibit creating new browser tab/window.
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
Can you please describe your use case for this? Is it just a matter of personal taste, or is opening a new tab not working in some way for you? |
It's a mix of both. It falls back to Another case is that sometimes I develop on remote virtual machine via ssh. That machine doesn't have X installed at all. |
What happens? Does opn fail? Hang? |
Just noticed something strange: running Sometimes |
json.gzip issue has been dealt with already, as far as I can see. If you think that this PR introduced flag doesn't worth it (CONTRIBUTING.md says about minimizing flags), feel free to close the PR. |
I think we may revisit this at some point, but not now. Rather than add ad-hoc flags, I would like to wait for more feature requests, and then perhaps consolidate them into some sort of preferences. Thanks for your time! |
This option allows to inhibit creating new browser tab/window.