Changed ENV is still being recognized as the old value

I changed the value of an ENV variable but my code is still using the “old value”. I thought after I change it, the app is restarted? Any way to force this?

I can’t recall if the app starts automatically on an ENV change but you would definitely notice it if that happened. Depending upon what you find easy you can “touch” one of the source files. Delete a blank line, insert it back for instance. The source change will be detected and the app restarted.

Or drop into the terminal and type refresh.

1 Like