better warnings for --dev flag