azu serve
Overview
azu serve [options]Basic Usage
Start Development Server
# Start server on default port (4000)
azu serve
# Start on custom port
azu serve --port 4000
# Start with specific environment
azu serve --env developmentDevelopment with Hot Reloading
# Start server with file watching
azu serve
# Output:
# π Starting Azu development server...
# π¦ Compiling application...
# β
Compilation successful!
# π Server running at: http://localhost:4000
# π₯ Hot reloading enabled
# π Watching for file changes...
#
# Press Ctrl+C to stop the serverCommand Options
Option
Description
Default
Development Server Features
Hot Reloading
Error Reporting
Environment Configuration
Server Configuration
Port and Host
Verbose Mode
File Watching
Automatic File Detection
Manual File Watching
Performance Options
Worker Processes
Memory and CPU Limits
Environment-Specific Configuration
Development Environment
Production Environment
Examples
Basic Development
Custom Configuration
Team Development
Mobile Development
Troubleshooting
Port Already in Use
Compilation Errors
File Watching Issues
Memory Issues
SSL Certificate Issues
Best Practices
1. Development Workflow
2. Environment Management
3. Performance Optimization
4. Security
5. Monitoring
Integration with Other Tools
VS Code Integration
Docker Development
Last updated