apollo-kotlin icon indicating copy to clipboard operation
apollo-kotlin copied to clipboard

[IJ Plugin] Reconsider use Gradle's continuous mode for automatic codegen

Open BoD opened this issue 1 year ago • 3 comments

Currently the automatic codegen feature works by invoking Gradle in continuous mode. While this was a handy way to implement this without having to replicate the file monitoring handled by Gradle, it has the disadvantage of keeping a daemon running always, in BUSY status (not available for other builds) - which consumes memory on the system.

Consider reverting to manually trigger the codegen task when GQL files are touched.

BoD avatar Jan 12 '24 17:01 BoD

Even better if we can bypass Gradle completely and invoke the compiler directly. Work in #5516 should help for this!

BoD avatar Jan 12 '24 17:01 BoD