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

Remove browser console output "Connected" messages #82

Open
ajiho opened this issue Jun 26, 2024 · 3 comments
Open

Remove browser console output "Connected" messages #82

ajiho opened this issue Jun 26, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@ajiho
Copy link

ajiho commented Jun 26, 2024

First of all, thank you very much for this excellent package, which allowed me to migrate from browser sync to event dev server. I am using it on CLI, and I would like to ask how to keep the browser console clean? My idea is to provide a configuration option to control it? And whether the browser can automatically open after startup,

import browserSync from 'browser-sync'

const bs = browserSync.create();


bs.init({
  notify: false,
  port: 3001,
  open: true,//like this
})

@ajiho
Copy link
Author

ajiho commented Jun 26, 2024

image
I don't want these outputs

@zachleat
Copy link
Member

zachleat commented Aug 1, 2024

Second half of this request is a duplicate of #28

@zachleat zachleat marked this as a duplicate of #28 Aug 1, 2024
@zachleat zachleat changed the title Keep the console clean and automatically open the browser upon startup Remove browser console output "Connected" messages Aug 1, 2024
@ajiho
Copy link
Author

ajiho commented Aug 4, 2024

Thank you for pointing me to the right place. Please forgive me for never using 'emergency' before. I just happened to find eleventy-dev-server while searching for alternatives to browser-sync. After using it, I was pleasantly surprised and also took a look https://github.com/11ty/eleventy/ I have marked it as a star, and I feel that I will definitely need it in the future. Thank you for your work

@zachleat zachleat added the enhancement New feature or request label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants