From 4299095d218e8ab7c5c7930eb2f0cbf5166ff888 Mon Sep 17 00:00:00 2001 From: Lou Rectoret Date: Tue, 25 Aug 2020 15:44:58 +0200 Subject: [PATCH] Run server with Autoreload (#8355) * docs: livereload option Co-authored-by: Frank Taillandier --- docs/_docs/index.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/_docs/index.md b/docs/_docs/index.md index d5e7e970..8b47a194 100644 --- a/docs/_docs/index.md +++ b/docs/_docs/index.md @@ -36,9 +36,13 @@ bundle exec jekyll serve ``` 6. Browse to [http://localhost:4000](http://localhost:4000){:target="_blank"} +{: .note} +Pass the `--livereload` option to the serve command if you want your browser to auto-refresh on each change you make: `bundle exec jekyll serve --livereload` + + If you encounter any errors during this process, see the [troubleshooting]({{ '/docs/troubleshooting/#configuration-problems' | relative_url }}) page. Also, make sure you've installed the development headers and other prerequisites as mentioned on the [requirements]({{ '/docs/installation/#requirements' | relative_url }}) page. -Note: Installation might be different depending on your operating system. See our [guides](https://jekyllrb.com/docs/installation/#guides) for OS specific instructions. \ No newline at end of file +Note: Installation might be different depending on your operating system. See our [guides](https://jekyllrb.com/docs/installation/#guides) for OS specific instructions.