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 --filter=<some-watch-filter.js> c-l argument. #82

Merged
merged 3 commits into from
Dec 18, 2015

Conversation

sterpe
Copy link
Contributor

@sterpe sterpe commented Oct 24, 2015

watchTreeOpt.filter is pretty useful, but not accessible from the watch c-l.

This PR adds a --filter=<some-watch-filter.js> argument, where some-watch-filter.js is a filepath relative to process.cwd() that exports a filter function boolean ƒ() as defined in the watchTreeOpt.filter documentation.

finnp added a commit that referenced this pull request Dec 18, 2015
Add --filter=<some-watch-filter.js> c-l argument.
@finnp finnp merged commit 6c8caff into mikeal:master Dec 18, 2015
@finnp
Copy link
Collaborator

finnp commented Dec 18, 2015

Seems alright to me. Thanks for the PR!

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

Successfully merging this pull request may close these issues.

2 participants