Skip to content

Commit dc222a1

Browse files
committed
Update dev server config
1 parent ab22c34 commit dc222a1

File tree

3 files changed

+392
-2816
lines changed

3 files changed

+392
-2816
lines changed

docs/.eleventy.js

+11
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ module.exports = function (eleventyConfig) {
66
eleventyConfig.addPassthroughCopy("vendor");
77
eleventyConfig.addPassthroughCopy("favicon.ico");
88

9+
eleventyConfig.setServerOptions({
10+
// Opt-out of the live reload snippet
11+
enabled: true,
12+
// Opt-out of DOM diffing updates and use page reloads
13+
domdiff: true,
14+
// The starting port number to attempt to use
15+
port: 8080,
16+
// Show the server version number on the command line
17+
showVersion: true,
18+
});
19+
920
return {
1021
// Control which files Eleventy will process
1122
// e.g.: *.md, *.njk, *.html, *.liquid

0 commit comments

Comments
 (0)