Docs: LiveReload option
This commit is contained in:
parent
c9da3c424a
commit
a3351cff4f
|
@ -65,15 +65,17 @@ jekyll serve
|
||||||
# => A development server will run at http://localhost:4000/
|
# => A development server will run at http://localhost:4000/
|
||||||
# Auto-regeneration: enabled. Use `--no-watch` to disable.
|
# 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
|
jekyll serve --detach
|
||||||
# => Same as `jekyll serve` but will detach from the current terminal.
|
# => 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 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.
|
# 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
|
```sh
|
||||||
jekyll serve --no-watch
|
jekyll serve --no-watch
|
||||||
|
|
Loading…
Reference in New Issue