Skip to content

Commit

Permalink
Docs: LiveReload option
Browse files Browse the repository at this point in the history
  • Loading branch information
DirtyF committed Jan 2, 2018
1 parent c9da3c4 commit a3351cf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/_docs/usage.md
Expand Up @@ -65,15 +65,17 @@ jekyll serve
# => A development server will run at http://localhost:4000/
# Auto-regeneration: enabled. Use `--no-watch` to disable.

jekyll serve --livreload
# LiveReload refreshes your browser after a change.

jekyll serve --incremental
# Incremental will perform a partial build in order to reduce regeneration time.

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.
```
<div class="note tip">
<h5>Livereload</h5>
<p>If you want to enable Livereload, you can enable the <a href="https://github.com/RobertDeRose/jekyll-livereload">jekyll-livereload</a> plugin in a <a href="../configuration/#build-command-options">development config file</a>.</p>
</div>

```sh
jekyll serve --no-watch
Expand Down

0 comments on commit a3351cf

Please sign in to comment.