A platform for community discussion. Free, open, simple.
DEV: Show ember-cli build progress when using `bin/ember-cli -u` (#28443)
David Taylor0b2b3f6d6f30
diff --git a/bin/ember-cli b/bin/ember-cliindex ee9e46ea0be..69a9870bfee 100755--- a/bin/ember-cli+++ b/bin/ember-cli@@ -59,7 +59,9 @@ end# Running yarn install in the root directory will also run it for YARN_DIR via a post-install hookexit 1 if !system "yarn", "-s", "install", "--cwd", RAILS_ROOT-yarn_env = {}+yarn_env = {+ "TERM" => "dumb", # simple output from ember-cli, so we can parse/forward it more easily+}if ARGV.include?("--forward-host")yarn_env["FORWARD_HOST"] = "true"end@@ -78,7 +80,7 @@ if ARGV.include?("-u") || ARGV.include?("--unicorn")if line.include?("\e[32m200\e") || line.include?("\e[36m304\e[0m") || line.include?("POST /message-bus")# skip 200s and 304s and message buselse- puts line+ puts "[ember-cli] #{line}"endendend