How do I detect at deploy time whether a stack + function is deployed in livedev mode so that I can set a different value for an environment variable on the function? So when running sst start I want one value set, and then another value when using sst deploy?
Currently I can set an environment variable to override a default, but I'd like the value to be driven by whether live dev is being used or not