banira watch

Recompile components whenever their source changes. Same options as compile.

Usage

$ banira watch <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>Output directory.

Examples

rebuild on change
$ banira watch src/my-button.ts -o dist

Notes

Pair it with serve for a compile-and-refresh dev loop, or just use dev, which combines the two.