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

Allow exact file patterns to be specified below wildcard patterns #853

Closed
vojtajina opened this issue Dec 9, 2013 · 0 comments
Closed

Comments

@vojtajina
Copy link
Contributor

First pattern matching a file wins. It might be helpful to make an exception, if you specify exact file name (without any wildcard character).

Example:

files: [
  {pattern: 'src/**/*.js', included: false},
  {pattern: 'src/main.js', included: true}
]

The second pattern won't match anything, as the src/main.js gets matched by the first one and therefore it won't be included. I think we should special-case this.

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

No branches or pull requests

2 participants