dns-witch.net.eu.org/node_modules/@11ty/eleventy-dev-server
2025-07-05 18:19:59 +02:00
..
client 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
server 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
cli 2.js 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
cli.js 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
cmd 2.js 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
cmd.js 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
package 2.json 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
package.json 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
README 2.md 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
README.md 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
server 2.js 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
server.js 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00

11ty Logo

eleventy-dev-server 🕚🎈🐀

A minimal, modern, generic, hot-reloading local web server to help web developers.

Documentation

npm Version

Installation

This is bundled with @11ty/eleventy (and you do not need to install it separately) in Eleventy v2.0.

CLI

Eleventy Dev Server now also includes a CLI. The CLI is for standalone (non-Eleventy) use only: separate installation is unnecessary if youre using this server with @11ty/eleventy.

npm install -g @11ty/eleventy-dev-server

# Alternatively, install locally into your project
npm install @11ty/eleventy-dev-server

This package requires Node 18 or newer.

CLI Usage

# Serve the current directory
npx @11ty/eleventy-dev-server

# Serve a different subdirectory (also aliased as --input)
npx @11ty/eleventy-dev-server --dir=_site

# Disable the `domdiff` feature
npx @11ty/eleventy-dev-server --domdiff=false

# Full command list in the Help
npx @11ty/eleventy-dev-server --help

Tests

npm run test

Changelog

  • v2.0.0 bumps Node.js minimum to 18.