Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Commit 24908b9

Browse files
committed
dev: Force Chalk color
1 parent f6118eb commit 24908b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/dev/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function startDevServer(settings, log) {
158158
const args =
159159
settings.command === "npm" ? ["run", ...settings.args] : settings.args;
160160
const ps = execa(settings.command, args, {
161-
env: settings.env,
161+
env: { ...settings.env, FORCE_COLOR: "true" },
162162
stdio: ["inherit", "pipe", "pipe"]
163163
});
164164
ps.stdout.on("data", function(buffer) {

0 commit comments

Comments
 (0)