diff --git a/config/environment.ts b/config/environment.ts index 4c4b59a..485d3c7 100644 --- a/config/environment.ts +++ b/config/environment.ts @@ -11,7 +11,9 @@ try { export const environment: Environment = { port: parseInt(process.env.PORT || "6600", 10), host: process.env.HOST || "0.0.0.0", - development: process.env.NODE_ENV === "development", + development: + process.env.NODE_ENV === "development" || + process.argv.includes("--dev"), }; export const redisConfig: RedisConfig = {