Dev and Prod automatic detection