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

Automatic Browser Open #27

Merged
merged 3 commits into from
Feb 1, 2022
Merged

Automatic Browser Open #27

merged 3 commits into from
Feb 1, 2022

Conversation

king-11
Copy link
Contributor

@king-11 king-11 commented Jan 27, 2022

Add feature to open browser automatically.

Fixes #25

wait for sometime allowing server to run
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
@king-11
Copy link
Contributor Author

king-11 commented Jan 27, 2022

@yusukebe can you please take a look

@yusukebe
Copy link
Owner

Hi @king-11

Great! One thing. How about adding an option to disable automatic browser opening. Such as --disable-auto-open.

@king-11
Copy link
Contributor Author

king-11 commented Jan 27, 2022

Sounds good to me I will make changes for it

@king-11 king-11 force-pushed the browser branch 2 times, most recently from 2daf007 to 36202f8 Compare January 30, 2022 13:03
check for disable auto open flag before launching go routine
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
@king-11
Copy link
Contributor Author

king-11 commented Jan 30, 2022

@yusukebe I have added in the flag please take a look

Copy link
Owner

@yusukebe yusukebe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good 👍

server.go Show resolved Hide resolved
golint needs to check error if any
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
@yusukebe yusukebe merged commit e9322fa into yusukebe:master Feb 1, 2022
@yusukebe
Copy link
Owner

yusukebe commented Feb 1, 2022

@king-11
Thank you! I merged it.

@king-11 king-11 deleted the browser branch February 1, 2022 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Open the browser automatically
2 participants