Automatically detect if running in local dev environment