Added cleanup config #540

wants to merge 1 commit into


None yet

2 participants


I'm currently using jekyll inside a rails app to generate static pages that can be served directly from the public directory. The only issue is that, when I run jekyll, it deletes all files in the public directory that aren't being generated by jekyll.

I understand this behavior is necessary (and desired) for standalone usage. So I added a configuration option which allows the developer to skip the cleanup step if desired.

parkr commented May 29, 2012

A replacement for this is forthcoming. Check out @MikeSchroll's comment on #337. If we include certain items to keep, that may be better than everything.

parkr commented Dec 22, 2012

A more targeted approach will be preferable to this one. Thanks, though!

@parkr parkr closed this Dec 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment