is there any setting / env variable that will let ...
# typescript
b
is there any setting / env variable that will let me know when the program is running in preview mode?
l
pulumi.isDryRun()
. It's true for preview. I think it's also true for
up
during the pre-deploy phase?
b
hope so! i'll test it out right now - thanks @little-cartoon-10569!