eleventy-dev-server 🕚⚡️🎈🐀
A minimal, modern, generic, hot-reloading local web server to help web developers.
Installation
You do not need to install this separately—it is bundled with @11ty/eleventy
starting with Eleventy v2.0.0.
CLI
As of 1.0.0-canary.10
we now include a CLI for the Eleventy Dev Server.
This is for standalone use only. Installation is unnecessary if you’re using this with Eleventy.
npm install -g @11ty/eleventy-dev-server
npm install @11ty/eleventy-dev-server
CLI Usage
npx @11ty/eleventy-dev-server
npx @11ty/eleventy-dev-server --input=_site
npx @11ty/eleventy-dev-server --domdiff=false
npx @11ty/eleventy-dev-server --help
Tests
npm run test