Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (12 sloc) 468 Bytes


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 --watch

Edit lib/pie.js to print a message to the console.

You won't ever see that message.


The message should be printed to the terminal.


The message is properly printed if you stop mocha and run it alone (for example, npm test).