`ignore` option for temp files, etc #10

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

Comments

Projects
None yet
2 participants
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

Owner

logicalparadox commented May 17, 2012

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.

Owner

logicalparadox commented Jul 20, 2012

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?

Contributor

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

Owner

logicalparadox commented Jul 20, 2012

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 :)

Contributor

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