easy_localization icon indicating copy to clipboard operation
easy_localization copied to clipboard

watch command for generate files

Open farshidinanloo opened this issue 4 years ago • 5 comments

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 avatar Jan 01 '21 09:01 farshidinanloo

@farshidinanloo read this

aissat avatar Jan 07 '21 17:01 aissat

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

farshidinanloo avatar Jan 07 '21 17:01 farshidinanloo

thnx and welcome @farshidinanloo I like your suggestion currently watch feature not in easy_localization maybe next versions

aissat avatar Jan 07 '21 17:01 aissat

@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

Ladegeraet avatar Mar 03 '21 14:03 Ladegeraet

any progress on this?

rosenpin avatar Sep 21 '22 11:09 rosenpin