-
-
Notifications
You must be signed in to change notification settings - Fork 574
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
disableGlobbing option: treat glob-like paths as literal paths #598
Conversation
…as literal paths, not glob patterns
Cool, I'm glad the easy approach seems to work out. Thanks for the PR. As for the option name, I don't think Also, if you don't mind, can we add tests showing this working on an individual file, as well as showing that other files that would match the glob pattern (if it were being treated as such) do not get watched. |
@es128 I added some more tests - do they address your concerns? |
Yes. Thank you, great work! |
Would I be right in saying that this I can't seem to get something like this to work - tried with relative and absolte pathing. It always picks up the changes!
|
@DaleMckeown The docs for
Or if you only want to ignore files in a directory named bin in your root directory:
|
@octachrome Ah, thanks! I'll take a look and see if I can get that working tomorrow. |
As discussed with @es128 at #300.
Naming options is always tricky, so shout if you have a better suggestion than
ignoreGlobs
.If you're happy with the code, I'll update the docs.