From 8463e62d929f8dc51132734b8c1b2ddc052b6e94 Mon Sep 17 00:00:00 2001 From: ddavison Date: Thu, 22 Aug 2013 13:45:06 +0000 Subject: [PATCH] adding note about running detached --- site/docs/usage.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/site/docs/usage.md b/site/docs/usage.md index ac09c40a..0a72e3d3 100644 --- a/site/docs/usage.md +++ b/site/docs/usage.md @@ -31,8 +31,13 @@ preview what the generated site will look like in your browser locally. $ jekyll serve # => A development server will run at http://localhost:4000/ +$ jekyll serve --detach +# => Same as `jekyll serve` but will detach from the current terminal. +# If you need to kill the server, you can `kill -9 1234` where "1234" is the PID. +# If you cannot find the PID, then do, `ps aux | grep jekyll` and kill the instance. [Read more](http://unixhelp.ed.ac.uk/shell/jobz5.html). + $ jekyll serve --watch -# => As above, but watch for changes and regenerate automatically. +# => Same as `jekyll serve`, but watch for changes and regenerate automatically. {% endhighlight %} This is just a few of the available [configuration options](../configuration/).