TeamWanari / rosetta

Flutter Localization tool with code generation tool.
MIT License
35 stars 7 forks source link

Generator does not update code #19

Closed yoavrofe closed 5 years ago

yoavrofe commented 5 years ago

Generator does not update code after changing the JSON files and running flutter packages pub run build_runner build (mac, flutter master channel).

Running flutter clean solves the problem, but this has to be run each time.

agta1991 commented 5 years ago

After further investigation on the currently used Builder logic, we found that it only detects .dart file changes.

For proper functioning we need to refactor the Builder logic with a custom builder, which depend on both the referenced .json files and .dart files.

agta1991 commented 5 years ago

v0.1.1 release fixes this issue.