Skip to content
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

Open Browser after the server has started #7410

Closed
Lunchb0ne opened this issue Jun 19, 2020 · 9 comments
Closed

Open Browser after the server has started #7410

Lunchb0ne opened this issue Jun 19, 2020 · 9 comments

Comments

@Lunchb0ne
Copy link

When serving, for testing have an option to automatically open the browser. This would be a very nice to have feature.

I can start working on this ASAP

@bep
Copy link
Member

bep commented Jun 19, 2020

This has been discussed before.

@Lunchb0ne
Copy link
Author

It is possible to do this without a dependency, I saw that maintaining tests and other things in the build chain was your main gripe.

@bep
Copy link
Member

bep commented Jun 19, 2020

Can you post a link to the issue so I can have a look at what "my gripe was"?

@Lunchb0ne
Copy link
Author

This one

@mireille-raad
Copy link

will this launch a new instance of the default browser or will it open a new tab?

@Lunchb0ne
Copy link
Author

It'll open a new tab if the browser is already opened.

@korney4eg
Copy link

korney4eg commented Aug 9, 2020

why not create a wrapper for it like

hugo server &
open http://localhost:1313

For MacOS
with whatever configuration you like?

@stale
Copy link

stale bot commented Dec 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

@stale stale bot added the Stale label Dec 19, 2020
@github-actions github-actions bot closed this as completed Mar 9, 2022
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants