We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Browsersync prints X11 color names to console.
npm install --global browser-sync browser-sync --logLevel debug --no-open .
cyan and magenta in strings like {cyan:port} or {magenta:http}.
cyan
magenta
{cyan:port}
{magenta:http}
See parts of my Travis build and AppVeyor build:
[Browsersync] [debug] -> Starting Step: Finding an empty port [Browsersync] [debug] Found a free port: 3000 [Browsersync] [debug] Setting Option: {cyan:port} - {magenta:3000 [Browsersync] [debug] + Step Complete: Finding an empty port [Browsersync] [debug] -> Starting Step: Getting an extra port for Proxy [Browsersync] [debug] + Step Complete: Getting an extra port for Proxy [Browsersync] [debug] -> Starting Step: Checking online status [Browsersync] [debug] Resolved www.google.com, setting online: true [Browsersync] [debug] Setting Option: {cyan:online} - {magenta:true [Browsersync] [debug] + Step Complete: Checking online status [Browsersync] [debug] -> Starting Step: Resolve user plugins from options [Browsersync] [debug] + Step Complete: Resolve user plugins from options [Browsersync] [debug] -> Starting Step: Set Urls and other options that rely on port/online status [Browsersync] [debug] Setting multiple Options [Browsersync] [debug] + Step Complete: Set Urls and other options that rely on port/online status [Browsersync] [debug] -> Starting Step: Setting Internal Events [Browsersync] [debug] + Step Complete: Setting Internal Events [Browsersync] [debug] -> Starting Step: Setting file watchers [Browsersync] [debug] + Step Complete: Setting file watchers [Browsersync] [debug] -> Starting Step: Merging middlewares from core + plugins [Browsersync] [debug] Setting Option: {cyan:middleware} - {magenta:List [] [Browsersync] [debug] + Step Complete: Merging middlewares from core + plugins [Browsersync] [debug] -> Starting Step: Starting the Server [Browsersync] [debug] Static Server running ({magenta:http}) … [Browsersync] [debug] Running mode: SERVER [Browsersync] [debug] + Step Complete: Starting the Server [Browsersync] [debug] -> Starting Step: Starting the HTTPS Tunnel [Browsersync] [debug] + Step Complete: Starting the HTTPS Tunnel [Browsersync] [debug] -> Starting Step: Starting the web-socket server [Browsersync] [debug] Setting Option: {cyan:clientEvents} - {magenta:List [ "scroll", "scroll:element", "input:text", "input:toggles", "form:submit", "form:reset", "click" ] [Browsersync] [debug] + Step Complete: Starting the web-socket server [Browsersync] [debug] -> Starting Step: Starting the UI [Browsersync] [debug] Setting Option: {cyan:session} - {magenta:1706334118539 [Browsersync] [UI] Starting Step: Setting default plugins [Browsersync] [UI] Step Complete: %s Setting default plugins [Browsersync] [UI] Starting Step: Finding a free port [Browsersync] [UI] Step Complete: %s Finding a free port [Browsersync] [UI] Starting Step: Setting options also relevant to UI from BS [Browsersync] [UI] Step Complete: %s Setting options also relevant to UI from BS [Browsersync] [UI] Starting Step: Setting available URLS for UI [Browsersync] [debug] Getting option via path: {magenta:[ 'urls' ] [Browsersync] [UI] Step Complete: %s Setting available URLS for UI [Browsersync] [UI] Starting Step: Starting the Control Panel Server [Browsersync] [UI] Using port 3001 [Browsersync] [UI] Step Complete: %s Starting the Control Panel Server [Browsersync] [UI] Starting Step: Add element events [Browsersync] [UI] Step Complete: %s Add element events [Browsersync] [UI] Starting Step: Registering default plugins [Browsersync] [UI] Step Complete: %s Registering default plugins [Browsersync] [UI] Starting Step: Add options setting event [Browsersync] [UI] Step Complete: %s Add options setting event [Browsersync] [debug] + Step Complete: Starting the UI [Browsersync] [debug] -> Starting Step: Merge UI settings [Browsersync] [debug] Setting Option: {cyan:urls} - {magenta:Map { "local": "http://localhost:3000", "external": "http://10.30.0.46:3000", "ui": "http://localhost:3001", "ui-external": "http://10.30.0.46:3001" } [Browsersync] [debug] + Step Complete: Merge UI settings [Browsersync] [debug] -> Starting Step: Init user plugins [Browsersync] [debug] Setting Option: {cyan:userPlugins} - {magenta: [Browsersync] [debug] + Step Complete: Init user plugins [Browsersync] Access URLs: ----------------------------------- Local: http://localhost:3000 External: http://10.30.0.46:3000 ----------------------------------- UI: http://localhost:3001 UI External: http://10.30.0.46:3001 ----------------------------------- [Browsersync] Serving files from: /home/travis/build/Kristinita/SashaTravis
I’m guessing that instead of X11 color names, Browsersync should print colored strings. Examples:
$\textcolor{cyan}{\textsf{port}}$ instead of {cyan:port} $\textcolor{magenta}{\textsf{http}}$ instead of {magenta:http}
Operating system:
Terminals:
Node.js v21.6.1
browser-sync 3.0.2
Thanks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1. Summary
Browsersync prints X11 color names to console.
2. MCVE
2.1. Reproducibility
2.2. CLI commands
npm install --global browser-sync browser-sync --logLevel debug --no-open .
2.3. Behavior
2.3.1. Current
cyan
andmagenta
in strings like{cyan:port}
or{magenta:http}
.See parts of my Travis build and AppVeyor build:
2.3.2. Expected
I’m guessing that instead of X11 color names, Browsersync should print colored strings. Examples:
{cyan:port}
{magenta:http}
3. Environment
Operating system:
Terminals:
Node.js v21.6.1
browser-sync 3.0.2
Thanks.
The text was updated successfully, but these errors were encountered: