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

ignore option for temp files, etc #10

Open
dherman opened this issue May 17, 2012 · 5 comments
Open

ignore option for temp files, etc #10

dherman opened this issue May 17, 2012 · 5 comments

Comments

@dherman
Copy link
Contributor

dherman commented May 17, 2012

When emacs creates auto-save files like .#index.md, the watcher picks them up immediately and "build" tries to convert them. It would be useful to allow an ignore option to specify globs or regexps for filename patterns to ignore.

Thanks,
Dave

@logicalparadox
Copy link
Owner

Was afraid of that. Recently made some changes to make the watcher x-platform. Will see if I can come up with a better and cross-platform way to do this.

@logicalparadox
Copy link
Owner

Ok, build out a whitelist of extensions patterns... From the looks of things whitelisted extensions are:

  • .md
  • .jade
  • .styl
  • .js
  • .json
  • .gif
  • .png
  • .jpeg
  • .jpg

Also, ignore hidden files (starting with .) for emacs ;)

Will be watching the data and template folders.

All sound ok, anything I'm missing?

@dherman
Copy link
Contributor Author

dherman commented Jul 20, 2012

Sounds good. I've got some .svg files in my project's assets directory so adding that would be good. Maybe also .ico for favicons.

Oh, that reminds me, there isn't a straightforward way to add assets to the root directory is there… (I'll file a separate bug).

Thanks!

Dave

@logicalparadox
Copy link
Owner

Alright.

I'm working on the next release. Should be ready sometime this weekend. If you have further feature request please let me know!

PS: Thanks for the inspiration to finally get moving on this :)

@dherman
Copy link
Contributor Author

dherman commented Jul 20, 2012

Thanks for working on it! I'll file some more issues that have come to mind.

Dave

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

No branches or pull requests

2 participants