I have an environment variable set on a Device Group through settings → environment variables.
This is accessed through __VAR in the agent code.
When I change the value, the agent seems to restart but the value of the variable does not update unless I recompile.
Is this the correct behavior?
Is there some other mechanism I can use where it will update immediately?