Skip to content

Listen command should honor NODE_ENV #6

@rangelfinal

Description

@rangelfinal

Listen command should not override NODE_ENV and instead honor it.

const env = options.development ? "development" : "production";

should be
const env = process.env.NODE_ENV || (options.development ? "development" : "production");

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions