Skip to content

bug: mocha --watch runs twice #1

@chrishiestand

Description

@chrishiestand

mocha --watch often runs twice when a src file is saved, I believe because the CWD is written to twice - once when the src file is saved, and again when the build is saved. I believe the best fix for this issue is if mocha were to add support to "ignore" watched directories. Should we file a bug against mocha, or is there a better solution?

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