Skip to content

How to enable error display on browser sreen #522

Closed
@applemate

Description

@applemate

I'd like to show script errors like the screenshot below. Is there a way to do it with webpack devserver

screen shot 2016-07-07 at 2 14 25 pm

Here is my webpack config

entry: './app/index.js',
    output: {
        filename: 'bundle.js',
        path: path.join(__dirname, buildFolder),
        publicPath: publicPath
    },
    devServer: {
        contentBase: buildFolder
    }

Here is I start the dev server:
webpack-dev-server --inline --hot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions