You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ul><li><code>-port</code> sets the server port number to <code>PORT</code> (defaults to 1212).</li><li>The <code>-launch</code> option opens the project home page in the default web browser.</li><li>Press the <em>R</em> key followed by the <em>Enter</em> key to force a complete rebuild.</li></ul><h4id="partial-rebuilds">Partial rebuilds</h4>
169
+
<ul><li><code>-port</code> sets the server port number to <code>PORT</code> (defaults to 1212).</li><li>The <code>-launch</code> option opens the project home page in the default web browser.</li><li>Press the <em>R</em> key followed by the <em>Enter</em> key to force a complete rebuild.</li><li>The server strips the <code>urlprefix</code> from URLs in HTML files before sending them
170
+
to the browser. This allows the build to be tested irrespective of the
171
+
<code>urlprefix</code> value.</li><li>To enable browser live reloads the server inserts the
172
+
<ahref="http://livereload.com/">LiveReload</a> script tag into HTML files prior to
173
+
sending them to the browser.</li></ul><h4id="partial-rebuilds">Partial rebuilds</h4>
170
174
<p>To speed up live reloads and to make the content creation process easier and
171
175
more responsive the <ahref="#serve-command">serve command</a> automatically performs
172
176
partial builds when content files are modified, added or deleted.</p>
</dd><dt><code>urlprefix</code> †</dt><dd>This parameter is prepended to all synthesized document and index
250
254
page <ahref="#urls">URLs</a>. Its default value is a blank string. TOML examples:<preclass="no-highlight"><code>urlprefix = "/blog" # Root-relative URL prefix.
0 commit comments