-
Notifications
You must be signed in to change notification settings - Fork 68
Variables are not updating #24
Comments
Figured it out: had to make any changes on the code too for it to update. |
@wachunei running the packager with |
It seems like if you are using detached expo project you can also do this |
@wachunei same trick works for me as well. i tried a lot of tries to fix but your approach fixed my issues. |
For me tests were not picking up changes in .env when calling |
where should i put --clear-cache |
--reset-cache worked for me. @lPaths --reset-cache should be used when you start the React Native packager: If you start it from your package.json scripts:
|
Manually edit the file importing react-native-dotenv by either adding an empty line or whitespace will work. |
Variables defined in
.env
are not updating.I've tried:
Ctrl + C; yarn start
)react-native run-X
again😞 Don't know what else to try
The text was updated successfully, but these errors were encountered: