2.0.4 β’ Published 9 months ago
@11ty/eleventy-dev-server v2.0.4
eleventy-dev-server πβ‘οΈππ
A minimal, modern, generic, hot-reloading local web server to help web developers.
β‘ Documentation
- Please star Eleventy on GitHub!
- Follow us on Twitter @eleven_ty
- Support 11ty on Open Collective
- 11ty on npm
- 11ty on GitHub
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
# 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
- We use the ava JavaScript test runner (Assertions documentation)
Changelog
v2.0.0
bumps Node.js minimum to 18.
2.0.3
9 months ago
2.0.4
9 months ago
2.0.2
11 months ago
2.0.1
1 year ago
2.0.0
1 year ago
1.0.4
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
1.0.3
2 years ago
1.0.0-canary.13
3 years ago
1.0.0-canary.14
3 years ago
1.0.0-canary.10
3 years ago
1.0.0-canary.11
3 years ago
1.0.0-canary.12
3 years ago
1.0.0-canary.9
3 years ago
1.0.0-canary.8
3 years ago
1.0.0-canary.7
3 years ago
1.0.0-canary.6
3 years ago
1.0.0-canary.5
3 years ago
1.0.0-canary.4
3 years ago
1.0.0-canary.3
3 years ago
1.0.0-canary.2
3 years ago
1.0.0-canary.1
3 years ago