mowatch

0.1.0 • Public • Published

mowatch Build Status

Watch Mocha tests for changes and execute them

Prototype of a replacement for mocha --watch functionality.

Install

$ npm install -g mowatch

mowatch requires mocha in some form. If mocha is present in the local project, its executable will be used instead of a global one.

Example

$ mowatch test/**/*.js --watch lib/**/*.js

Usage

Watch Mocha tests for changes and execute them

mowatch [mocha options] <test files>

Options:
  --version    Show version number                                     [boolean]
  --watch, -w  Additional files/globs to watch; comma-separated
                                                           [array] [default: []]
  --help, -h   Show help                                               [boolean]

Refer to "mocha --help" for more command line options.

mowatch accepts all command line options except those listed above.

License

© 2015 Christopher Hiller. Licensed MIT.

Package Sidebar

Install

npm i mowatch

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • boneskull