From 9fdcb901f3825eb602f47eeea476204d26c2d97b Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Sun, 16 Jun 2019 18:56:08 +0200 Subject: [PATCH] Both --autoreload and --listen can be combined But not on Windows. Refs #2400 --- docs/publish.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/publish.rst b/docs/publish.rst index 4dc1e3ef..197aa779 100644 --- a/docs/publish.rst +++ b/docs/publish.rst @@ -32,7 +32,12 @@ list of paths or can be configured as a setting. (See: You can also tell Pelican to watch for your modifications, instead of manually re-running it every time you want to see your changes. To enable this, run the -``pelican`` command with the ``-r`` or ``--autoreload`` option. +``pelican`` command with the ``-r`` or ``--autoreload`` option. On non-Windows +environments, this option can also be combined with the ``-l`` or ``--listen`` +option to simultaneously both auto-regenerate *and* serve the output at +http://localhost:8000:: + + pelican --autoreload --listen Pelican has other command-line switches available. Have a look at the help to see all the options you can use::