Skip to content

--watch doesnt work on mocha 5.1.0 #3325

Closed
@CoericK

Description

I got these scripts

{
    "test": "mocha --require babel-core/register src/**/*.test.js",
    "test:watch": "yarn test --watch"
}

and they work perfect on mocha 5.0.5, but i just created a new project and installed mocha 5.1.0 and the npm run test:watch command doesn't work. I mean it doesnt give any error, it executes the tests and finish the process, if i have to run the tests again i have to run the command again and again.

Workaround: Going back to 5.0.5 for now.

Metadata

Assignees

Labels

type: buga defect, confirmed by a maintainer

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions