pub async fn run(schema: &str, port: u16) -> Result<()>Expand description
Run the serve command (development server with hot-reload)
§Arguments
schema- Path to schema.json file to watchport- Port to listen on (for future GraphQL server integration)
§Behavior
- Compiles the initial schema
- Watches schema.json for file changes
- Auto-recompiles on save
- Provides compilation feedback
§Future Enhancement
Will integrate with fraiseql-server to provide hot-reload of the GraphQL endpoint