Development Server Configuration
Overview
Development Server Configuration Structure
Base Development Configuration
# config/development.yml
development:
# Server settings
server:
host: <%= ENV["AZU_HOST"] || "localhost" %>
port: <%= ENV["AZU_PORT"] || 4000 %>
workers: 1
backlog: 1024
# Hot reloading
hot_reload:
enabled: true
rebuild_on_change: true
restart_on_change: true
browser_reload: true
# File watching
file_watcher:
enabled: true
watch_paths:
- src/
- config/
- public/templates/
ignored_paths:
- .git/
- node_modules/
- .crystal/
- bin/
- tmp/
- log/
ignored_extensions:
- .tmp
- .swp
- .swo
# Compilation
compilation:
incremental: true
parallel: true
cache_dir: .crystal/
debug: true
warnings: true
# Debugging
debugging:
enabled: true
port: 5005
suspend: false
log_level: debug
# Development tools
tools:
inspector: true
profiler: true
memory_tracker: true
performance_monitor: trueServer Configuration
Basic Server Settings
Advanced Server Settings
Hot Reloading Configuration
Hot Reload Settings
Hot Reload Implementation
File Watching Configuration
File Watcher Settings
File Watcher Implementation
Compilation Configuration
Compilation Settings
Compiler Implementation
Debugging Configuration
Debug Settings
Debug Implementation
Development Tools Configuration
Development Tools
Environment-Specific Configuration
Development Environment
Test Environment
Development Server Commands
Server Management Commands
Development Tools Commands
Environment Variables
Development Environment Variables
Best Practices
Development Workflow
Performance
Debugging
Related Documentation
Last updated