ionic-team / ionic-team/ionic-cli

No output colourisation for `ionic serve`

オープン
#4,636 コメント 1 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。