Visitar URL original
Remove browser console output "Connected" messages · Issue #82 · 11ty/dev-server · GitHub
Skip to content

Remove browser console output "Connected" messages #82

Description

@ajiho

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
})

Activity

  1. ajiho commented on Jun 26, 2024

    @ajiho
    Author

    image
    I don't want these outputs

  2. zachleat commented on Aug 1, 2024

    @zachleat
    Member

    Second half of this request is a duplicate of #28

  3. changed the title [-]Keep the console clean and automatically open the browser upon startup[/-] [+]Remove browser console output "Connected" messages[/+] on Aug 1, 2024
  4. ajiho commented on Aug 4, 2024

    @ajiho
    Author

    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

  5. added
    needs-votesA feature request on the backlog that needs upvotes or downvotes. Remove this label when resolved.
    on Mar 13, 2025
  6. ajiho commented on May 12, 2026

    @ajiho
    Author

    We don’t need to remove this feature. We might just need an option for it.

    Would it be possible to add a quiet option to suppress browser console messages from @11ty/eleventy-dev-server?

    Currently the dev server injects logs/messages into the browser console on every reload, which can become noisy during development and makes debugging application logs harder.

    Something like:

    new EleventyDevServer("dev", "dist", {
      quiet: true
    })

    would be very helpful.

  7. removed
    needs-votesA feature request on the backlog that needs upvotes or downvotes. Remove this label when resolved.
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions