ionic-team / ionic-team/ionic-cli

ionic serve clear terminal on reload

未關閉
#4,340 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
TypeScript
星號
2k
分支
682
PR 合併指標
30 天內沒有已合併 PR

描述

I think it would be nice to have the option to pass a argument to ionic serve to clear the terminal output. For example "ionic serve --clear" or similar.

This would make the terminal cleaner and easier to identify errors and warnings in the terminal when developing.

I know that for example Vue does it like this.

貢獻指南

開啟貢獻指南

研究方向

首先定位 ionic serve 指令及其引數的解析方式。檢查 reload 輸出是如何產生的,然後定義 clear 選項的行為,並驗證 reload 會清除終端機,同時現有的 serve 輸出和錯誤仍可正常使用。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
typescript
領域
cli
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。