Skip to content

Commit

Permalink
fix(dev): stringify existing NODE_ENV for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
pcattori committed May 24, 2023
1 parent 61669e5 commit 43adafb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/remix-dev/cli/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ export async function dev(
) {
if (process.env.NODE_ENV && process.env.NODE_ENV !== "development") {
console.warn(
`Forcing NODE_ENV to be 'development'. Was: ${process.env.NODE_ENV}`
`Forcing NODE_ENV to be 'development'. Was: ${JSON.stringify(
process.env.NODE_ENV
)}`
);
}
process.env.NODE_ENV = "development";
Expand Down

0 comments on commit 43adafb

Please sign in to comment.