easy_localization
easy_localization copied to clipboard
watch command for generate files
how to watch these to command for generate files automatically?
flutter pub run easy_localization:generate
flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart
@farshidinanloo read this
thanks @aissat I know my question is naive sorry for that i'm new to flutter and dart my problem is every time i add translation to json file i have to run these command to generate files i need a command to watch that json file and every time it change it run these command and generate specific files
thnx and welcome @farshidinanloo I like your suggestion currently watch
feature not in easy_localization
maybe next versions
@farshidinanloo this should be helpful https://developer.school/quick-tip-speed-up-workflow-with-command-line-aliases/ or this one https://marketplace.visualstudio.com/items?itemName=wk-j.save-and-run
any progress on this?