jankuss / genq

Instant Data Class Generation for Dart
MIT License
133 stars 0 forks source link

Regenerate the part classes when the files are saved #9

Open ClementBeal opened 4 months ago

ClementBeal commented 4 months ago

It's basically a file watcher detecting when a file contains the @genq annotations is saved.

I think it would improve the UX developer avoiding us to constantly switch between the Flutter bash and the genq bash

jankuss commented 4 months ago

Would you expect this to be included in the genq command?

Something like

genq --watch

Which watches for changes, and regenerates when a file changes? I think we could include something like this.

ClementBeal commented 4 months ago

Yes, I would expect something like genq --watch

And yeah, it should regenerates when a file changes.

moha-b commented 4 months ago

That will be super useful 🚀