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 some more ignore patterns (for vim, sass, git). #4

Merged
merged 1 commit into from Apr 25, 2012
Merged

Add some more ignore patterns (for vim, sass, git). #4

merged 1 commit into from Apr 25, 2012

Conversation

ghost
Copy link

@ghost ghost commented Apr 25, 2012

When editing files with vim, it creates ..swp or .swo temporary files - I'd like those to be ignored, since they change very often, which creates lots of unnecessary work for instance for 'pith watch'.

Furthermore, it is also sensible to ignore .sass-cache (created if one has *.css.sass files) and .gitignore, as they have no purpose on built websites.

Would you consider adding an ignore option, settable in config.rb?

@mdub
Copy link
Owner

mdub commented Apr 25, 2012

Thanks; adding those things to the default ignore patterns makes sense.

You can already customise what's ignored in config.rb, e.g.

project.ignore_patterns << ".sass-cache"

I might project.ignore as a handy shortcut, though.

mdub added a commit that referenced this pull request Apr 25, 2012
Add some more ignore patterns (for vim, sass, git).
@mdub mdub merged commit 38c3942 into mdub:master Apr 25, 2012
@ghost
Copy link
Author

ghost commented Apr 26, 2012

Thanks! I didn't figure out that you can do " ... patterns << something". I should learn more ruby :)

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.

1 participant