eleventy-dev-server 🕚⚡️🎈🐀
A minimal, modern, generic, hot-reloading local web server to help web developers.
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 you’re using this server with @11ty/eleventy
.
npm install -g @11ty/eleventy-dev-server
npm install @11ty/eleventy-dev-server
This package requires Node 18 or newer.
CLI Usage
npx @11ty/eleventy-dev-server
npx @11ty/eleventy-dev-server --dir=_site
npx @11ty/eleventy-dev-server --domdiff=false
npx @11ty/eleventy-dev-server --help
Tests
npm run test
Changelog
v2.0.0
bumps Node.js minimum to 18.