Automatically recompile modified components (on save)
$bit watch
Additional Notes
by default, the watcher doesn't use polling, to keep the CPU idle.
if this doesn't work well for you, run "bit config set watch_use_polling true" to use polling.
Options
Option | Option Alias | Description | Value Type |
---|---|---|---|
--verbose | -v | show all watch events and compiler verbose output | boolean |
--skip-pre-compilation | - | skip compilation step before starting to watch | boolean |
--check-types | -t | EXPERIMENTAL. show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project | string |
--import | -i | helpful when using git. import component objects if .bitmap changed not by bit | boolean |