Best way to detect dev environnement by default