dev
The dev
command starts a development server that watches your BAML source files for changes and automatically reloads the BAML runtime. This feature is designed to streamline the development process by providing real-time updates as you modify your BAML configurations.
Warning: Preview Feature
- You must include the
--preview
flag when running thedev
command. - Be aware that this feature is still being stabilized and may change in future releases.
Usage
Details
See the serve command for more information on the arguments.
The dev command performs the exact same functionality, but it additionally:
- Watches the BAML source files for changes.
- Automatically reloads the server when changes are detected.
- Automatically runs any generators when changes are detected.