Custom destination in _config.yml causes jekyll server to auto-regenerate continuously #457

Closed
ghost opened this Issue Dec 20, 2011 · 4 comments

Comments

Projects
None yet
4 participants
@ghost

ghost commented Dec 20, 2011

On a project I tried to rename _site as _static because I felt it made more sense that way (never mind, I'm usually very picky about naming stuff).

Thanks to the config argument destination it went quite well ; however, when starting the jekyll server with auto-regeneration it was regenerating some files second after second for an unknown reason. When I tried to put the name back to destination : ./_site suddenly the issue was no more.

Here is my guess : auto-regeneration watches every file but the ones stored in _site ... and it doesn't follow your config file.

Of course there are many ways around it, such as putting the static site destination out of your jekyll base folder, or simply stopping that naming frenzy and use what's already there ... But this is still a bug and it needs to be reported, right ?

enure commented Mar 20, 2012

I experienced this bug as well. I sent a pull request.
mojombo#528

Here's the diff in the meantime if you want to patch it locally:
https://github.com/mojombo/jekyll/pull/528/files

Owner

parkr commented Dec 22, 2012

Closing in favour of PR #528.

@parkr parkr closed this Dec 22, 2012

It seems like there might be a regression on this with latest master. Running jekyll -w server regenerates all files continually.

Owner

parkr commented Feb 21, 2013

@jronallo Great catch! Putting up a pull request for this now.

parkr added a commit that referenced this issue Feb 21, 2013

@jekyllbot jekyllbot locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.