Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/topfunky/demo-mocha-watch-bug
A demo to show a bug in mocha's --watch option
https://github.com/topfunky/demo-mocha-watch-bug
Last synced: 11 days ago
JSON representation
A demo to show a bug in mocha's --watch option
- Host: GitHub
- URL: https://github.com/topfunky/demo-mocha-watch-bug
- Owner: topfunky
- Created: 2012-03-06T21:34:29.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-03-06T21:43:00.000Z (over 12 years ago)
- Last Synced: 2024-04-15T14:13:24.236Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 89.8 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
DESCRIPTION
===========Running the `--watch` option successfully runs tests, but doesn't reload the implementation code.
To recreate:
npm install
./node_modules/mocha/bin/mocha --reporter spec --watchEdit `lib/pie.js` to print a message to the console.
You won't ever see that message.
Expected:
The message should be printed to the terminal.
Addendum:
The message is properly printed if you stop `mocha` and run it alone (for example, `npm test`).