ionic-team / ionic-team/ionic-cli

No output colourisation for `ionic serve`

未关闭
#4,636 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

**Description:**
When running `ionic serve` on an `@ionic/angular` project I get little to no colourisation of the output in the terminal.

**Steps to Reproduce:**
1. Run `ionic serve`, examine output.
2. Run `ng serve` compare with previously display output, note lack of colourisation.

**Output:**
`ionic serve`
![Screen Shot 2021-02-03 at 15 32 59](https://user-images.githubusercontent.com/16571951/106698783-9c820a80-6635-11eb-9a9e-eb135272daa0.png)

`ng serve`
![Screen Shot 2021-02-03 at 15 37 31](https://user-images.githubusercontent.com/16571951/106699059-334ec700-6636-11eb-9d2b-f6b634b4898c.png)

**My `ionic info`:**

```
Ionic:

Ionic CLI : 6.12.4 (/.../.nvm/versions/node/v14.15.4/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.5.3
@angular-devkit/build-angular : 0.1100.7
@angular-devkit/schematics : 11.1.2
@angular/cli : 11.1.2
@ionic/angular-toolkit : 3.0.0

Utility:

cordova-res : not installed
native-run : 1.3.0

System:

NodeJS : v14.15.4 (/.../.nvm/versions/node/v14.15.4/bin/node)
npm : 6.14.10
OS : macOS Big Sur
```

**Other Information:**
Obviously not a huge deal as the info is all still there but thought you might want to know.

I've tried it in both macOS iTerm2 and Terminal with the same results.

It looks to be working for @mhartington in this [blog post](https://ionicframework.com/blog/massive-updates-with-version-11-of-angular/) showcasing Angular 11, unless the screenshot is of the `ng serve` command instead of `ionic serve`.

Thanks for creating this fantastic framework! 🙂

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。