banira dev

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

ArgumentDescription
<files...>TypeScript files to compile.

Options

OptionDescription
-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)
--tsServe TypeScript transpiled on the fly (no separate compile step).
--hmrHot-swap custom elements in place instead of a full-page reload.
--import-mapInject a