-
Notifications
You must be signed in to change notification settings - Fork 38
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
Changes in .env file does not update generated env files #6
Comments
Thanks for reporting this! I will need to do some digging into this one to see if there is any clever fix. This was still a problem with Envify, which this package is based on. For now the best piece of advice is to run |
If this happens simply run flutter pub run build_runner clean which will clean all the generated files and purge the code-gen caches. Then run flutter pub run build_runner build --delete-conflicting-outputs as you normally would. |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This is something that the build library does not currently support. I am tracking this issue: dart-lang/build#967 If you know of a creative workaround you can make a pull request and I'd gladly review it! :) |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
I'm closing this issue as the root cause dart-lang/build#967 lies outside of this package and because a workaround has been provided. |
BEFORE
AFTER
The text was updated successfully, but these errors were encountered: