Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mocha watch doesnt trigger on new files

When i run mocha on watch

mocha --watch app/**/*.spec.js

Everything is working fine. Unless when I create new spec file mocha doesnt detect that.

Is there ani fix for it?

like image 757
lasekio Avatar asked Jun 12 '15 11:06

lasekio


1 Answers

This seems likely to be a bug or an unimplemented feature. There is an open GitHub issue filed on the Mocha repo.

like image 55
Mary Rose Cook Avatar answered Oct 10 '22 19:10

Mary Rose Cook