codex
codex copied to clipboard
`ignore` option for temp files, etc
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
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.
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?
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
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 :)
Thanks for working on it! I'll file some more issues that have come to mind.
Dave