Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watch command for generate files #307

Open
farshidinanloo opened this issue Jan 1, 2021 · 5 comments
Open

watch command for generate files #307

farshidinanloo opened this issue Jan 1, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@farshidinanloo
Copy link

farshidinanloo commented Jan 1, 2021

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

@aissat
Copy link
Owner

aissat commented Jan 7, 2021

@farshidinanloo read this

@farshidinanloo
Copy link
Author

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

@aissat aissat added the enhancement New feature or request label Jan 7, 2021
@aissat
Copy link
Owner

aissat commented Jan 7, 2021

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

@Ladegeraet
Copy link

Ladegeraet commented Mar 3, 2021

@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

@rosenpin
Copy link

any progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants