Run the ui/development server
$bit start [component-pattern]
$bit c [component-pattern]
Arguments
Argument | Description | Required |
---|---|---|
component-pattern | component name, component id, or component pattern. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and "!" to exclude. e.g. "ui/**, !ui/button". use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern. |
Options
Option | Option Alias | Description | Value Type |
---|---|---|---|
--dev | -d | start UI server in dev mode. | boolean |
--port | -p | port of the UI server. | string |
--rebuild | -r | rebuild the UI (useful e.g. when updating the workspace UI - can use the dev flag for HMR in this case) | boolean |
--skip-ui-build | - | skip building UI | boolean |
--verbose | -v | show verbose output for inspection and prints stack trace | boolean |
--no-browser | -n | do not automatically open browser when ready | boolean |
--skip-compilation | - | skip the auto-compilation before starting the web-server | boolean |
--ui-root-name | -u | name of the ui root to use, e.g. "teambit.scope/scope" or "teambit.workspace/workspace" | string |