Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to hint implementation-files to --watch #870

Closed
ELLIOTTCABLE opened this issue May 28, 2013 · 1 comment
Closed

Add a way to hint implementation-files to --watch #870

ELLIOTTCABLE opened this issue May 28, 2013 · 1 comment

Comments

@ELLIOTTCABLE
Copy link
Contributor

Currently, --watch only re-runs your tests when the test files themselves change. Obviously, that's somewhat less than ideal.

I'd love to see --watch take an optional argument, that being a glob of files or directories (other than the tests, which are already listed at the command-line) to subscribe to changes for.

Example:

mocha --watch Source/ --reporter dot --watch Test/*.js
@jbnicolai
Copy link

Closing in favor of #1780

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants