https://github.com/mochajs/mowatch
https://github.com/mochajs/mowatch
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mochajs/mowatch
- Owner: mochajs
- License: mit
- Created: 2015-08-11T23:38:07.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-24T05:19:42.000Z (about 8 years ago)
- Last Synced: 2024-10-01T05:15:00.110Z (9 months ago)
- Language: JavaScript
- Size: 20.5 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mowatch [](https://travis-ci.org/mochajs/mowatch)
> Watch Mocha tests for changes and execute them
Prototype of a replacement for `mocha --watch` functionality.
## Install
```shell
$ npm install -g mowatch
````mowatch` requires [`mocha`](https://mochajs.org) in some form. If `mocha` is present in the local project, its executable will be used instead of a global one.
## Example
```shell
$ mowatch test/**/*.js --watch lib/**/*.js
```## Usage
```
Watch Mocha tests for changes and execute themmowatch [mocha options]
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
:copyright: 2016 [JS Foundation](https://js.foundation) and contributors.