diff --git a/site/_docs/usage.md b/site/_docs/usage.md index 7538de00..4959ad45 100644 --- a/site/_docs/usage.md +++ b/site/_docs/usage.md @@ -41,14 +41,24 @@ preview what the generated site will look like in your browser locally. {% highlight bash %} $ jekyll serve # => A development server will run at http://localhost:4000/ +# Auto-regeneration: enabled. Use `--no-watch` to disable. $ 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). +{% endhighlight %} -$ jekyll serve --watch -# => Same as `jekyll serve`, but watch for changes and regenerate automatically. +
+
Be aware of default behavior
+

+ As of version 2.4, the serve command will watch for changes automatically. To disable this, you can use jekyll serve --no-watch, which preserves the old behavior. +

+
+ +{% highlight bash %} +$ jekyll serve --no-watch +# => Same as `jekyll serve` but will not watch for changes. {% endhighlight %} These are just a few of the available [configuration options](../configuration/). @@ -71,4 +81,4 @@ $ jekyll build --source _source --destination _deploy {% endhighlight %} For more about the possible configuration options, see the -[configuration](../configuration/) page. +[configuration](../configuration/) page. \ No newline at end of file