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 --ignoreDirectoryPattern cli option #98

Merged

Conversation

levithomason
Copy link
Collaborator

Rebased version of the dead #93.

@vanderlee
Copy link

Let's hope it gets merged before the base changes again!

@levithomason
Copy link
Collaborator Author

No worries, I have rights to merge now and most certainly can rebase as needed ;)

@@ -35,6 +43,11 @@ if(argv.ignoreDotFiles || argv.d)
if(argv.ignoreUnreadable || argv.u)
watchTreeOpts.ignoreUnreadableDir = true

if(argv.ignoreDirectoryPattern || argv.p) {
var match = (argv.ignoreDirectoryPattern || argv.p).match(/^\/(.*)\/([gimuy])$/);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#99 adds minimatch for matching, we should consider staying consistent.

@levithomason levithomason force-pushed the feature/ignore-directory-pattern branch from bd6239d to 8428628 Compare June 20, 2016 18:40
@levithomason
Copy link
Collaborator Author

Rebased, merging.

@levithomason levithomason merged commit fa3f919 into mikeal:master Jun 20, 2016
@levithomason levithomason deleted the feature/ignore-directory-pattern branch June 20, 2016 18:41
@vanderlee
Copy link

Great :) When will the version get bumped so NPM sees it?

@levithomason
Copy link
Collaborator Author

Already done, v0.19.1 should be what you're looking for.

@vanderlee
Copy link

My bad; "watch" was indeed updated

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