-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
A general setting for ignoring files #193
Comments
Hrmmm, well if we do Perhaps what we need is to ignore |
Well what I'm saying is to make it configurable rather than hardcoding. |
I have the same issue using Vim. When using |
Happy to have this done. Is anyone willing to do a pull request? |
Looks like the best fix for this would be to pass user configuration to Thing is, when specifying a custom regexp in Docpad (and probably in general), we want to concatenate that regexp to the defaults, not override them. So I can either modify scandir's API such that there are two options: one boolean option which dictates whether to use the common ignore patterns and another option which specifies custom ignore patterns (which can, btw, be done in a backward compatible way), or I could modify Docpad such that it concatenates custom ignore patterns with the default ones and then passes that to 'scandir' for 'ignorePatterns'. The former seems cleanest. Also, where would I stick a regexp concatenation function? |
In v6.8.3 (just published) you can now specify your own |
- v6.8.3 October 22, 2012 - Fixed growl generating notification from saying `generated` instead of `generating` - Added `ignorePatterns` option - Closes [#193](#193) thanks to [Bruno Héridet](https://github.com/Delapouite) for [pull request #326](#326)
As of v6.19 we now have the configuration options |
- v6.8.3 October 22, 2012 - Fixed growl generating notification from saying `generated` instead of `generating` - Added `ignorePatterns` option - Closes [#193](#193) thanks to [Bruno Héridet](https://github.com/Delapouite) for [pull request #326](#326)
I'm using vim. When I edit a file like
a.js.coffee
, I'll get another file beside it.a.js.coffee.swp
. And in this case docpad copies them too. We should have a setting similar to.gitignore
for matching file names that needs to be ignored.The text was updated successfully, but these errors were encountered: