Web Dev Server
Installation
npm i -D @web/dev-server
More at Installation (modern-web.dev).
Usage
web-dev-server [option]
# Shorthand
wds [option]
// package.json e.g.:
{
"scripts": {
"start": "wds --node-resolve --open --watch"
}
}
Options:
-c,--config <config-file>(web-dev-server.configby default)-h,--hostname <host-name>-p,--port <port-number>-r,--root-dir <dir>(./by default)--app-index <index-file>(./index.htmlby default)--base-path <path>--node-resolve-o,--open-w,--watch
More at CLI flags (modern-web.dev).