class
AmberCLI::Documentation::DevelopmentTools
- AmberCLI::Documentation::DevelopmentTools
- Reference
- Object
Overview
Development Tools
Amber CLI provides several tools to streamline development workflow.
Watch Mode
The watch command starts a development server that automatically rebuilds
and restarts your application when files change.
Usage
amber watch [options]
Options
-n, --name=NAME- Application process name-b, --build=BUILD- Custom build command-r, --run=RUN- Custom run command-w, --watch=FILES- Files to watch (comma-separated)-i, --info- Show current configuration
Code Execution
The exec command allows you to execute Crystal code within your
application's context.
Usage
amber exec [CODE_OR_FILE] [options]