Investigate the current code generation mechanism in the repository, likely in files under 'src' or 'generators'. Look at how mongoose schemas are parsed to generate GraphQL types. The goal is to watch for changes in model files (e.g., .js or .json) and automatically regenerate GraphQL schema files. Review any existing tests or documentation that specify expected behavior. Check comments on this issue for any additional requirements or constraints mentioned by users.