Skip to content

bug: mocha --watch runs twice #1

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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