Stop jekyll running server or monitoring for changes. #5

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@aJanuary

Stops jekyll from running a server or automatically rebuilding on a change, both of which cause the process to keep running.

@aJanuary aJanuary Stops jekyll running long processes.
Stops jekyll from running a server or automatically rebuilding on a change, both of which cause the process to keep running.
2ddb771
@mattmanning
Owner

Thanks for the pull request. Did you encounter a problem that made this change necessary? If so, can you tell me a little more about what happened?

@aJanuary
aJanuary commented Mar 2, 2013

If you have server: true in your _config.yml Jekyll will fire up a web server when you run it. If you have auto:true in your _config.yml Jekyll will monitor the files for changes and automatically rebuild.

This can be useful for testing locally, but in the buildpack it blocks the process and the deploy times out.

The --no-server and --no-auto flags override these settings so the buildpack won't sit trying to run a server or watch for changes.

@mattmanning
Owner

Thanks for the explanation. That makes a lot of sense. If you can rebase this onto the current head of my master branch I'll get it merged.

@mattmanning
Owner

Nevermind. This is a really simple diff. I'll take care of it.

@mattmanning
Owner

Added in 91b8140

Thanks again, @aJanuary.

@mattmanning mattmanning closed this Mar 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment