ionic-team / ionic-team/ionic-cli

No output colourisation for `ionic serve`

Đang mở
#4,636 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**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! 🙂

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.