Skip to content

Customize console output #1135

Closed
Closed
@fgarcia

Description

@fgarcia
  • Operating System: 10.12.6
  • Node Version: v8.4.0
  • NPM Version: 5.4.2
  • webpack Version: 3.6.0
  • webpack-dev-server Version: 2.8.2
  • This is a feature request
  • This is a modification request
  • This is a bug

For Features; What is the motivation and/or use-case for the feature?

Although I can start webpack-dev-server programatically, it is not clear how to capture the console output.

I want to launch a set of services from one single script. Each of my services print to the stdout with a prefix like [service] some text but I don't see how to manage the output from webpack-dev-server

I do not want to use the quiet option. I want to print errors and reload / re-compile notifications. But I want to customize the output. I would expect two ways:

  • custom logger
  • emitted events

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions