Skip to content

Report Chokidar errors #1071

Closed as not planned
Closed as not planned
@novemberborn

Description

@novemberborn

Watch mode uses chokidar to detect changes. Chokidar can emit error events. Currently these are ignored. We should report them to the user instead as they may include clues as to why the watcher isn't detecting changes.

For example #1030 was due to Chokidar watching more files than the system allowed.

I'm thinking this should be part of the watcher's debug output, but that still takes some effort to find. Should it go in the verbose output instead?

We'll have to reproduce #1030 with this reporting enabled to see if Chokidar actually reports the errors and if it's informative enough.

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