11ty / 11ty/dev-server

Remove browser console output "Connected" messages

Open
#82 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement needs-votes
Dominant language
JavaScript
Stars
109
Forks
20
Avg merge
1m
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the CLI/server initialization path and the browser-side code responsible for the “Connected” console message, then check how startup options are handled. Done means the requested console output can be controlled and the browser-opening behavior is clearly addressed or separated into a follow-up.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.