Skip to content

Webpack dev server needs a restart after an ESLint error occurs #280

@ePaLy

Description

@ePaLy

When failOnError is set to true (it is by default) and an ESLint error occurs, the following error is printed to webpack dev server console:

Image

No other output is printed to the console after that (after code modifications, etc.)

I think it is related to the fix in version 5.0.1: https://github.com/webpack-contrib/eslint-webpack-plugin/releases/tag/v5.0.1

Is it an expected behavior when failOnError is set to true?
Should it be documented?
Is it possible to set it defaultly to false based on environment?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions