The one-command dev loop: watch, compile, and serve with live reload, so a source edit recompiles and the browser refreshes.
Usage
$ banira dev <files...> [options]
Arguments
| Argument | Description |
|---|
<files...> | TypeScript files to compile. |
Options
| Option | Description |
|---|
-p, --project <path> | Path to a tsconfig.json whose options override the defaults. |
-o, --output <path> | Directory to write compiled output to. |
-r, --root <path> | Directory to serve (defaults to the output dir, or .). |
--port <number> | Port to listen on. (default: 8080) |
--host <host> | Host/interface to bind. (default: 127.0.0.1) |
--ts | Serve TypeScript transpiled on the fly (no separate compile step). |
--hmr | Hot-swap custom elements in place instead of a full-page reload. |
--import-map | Inject a
|