ionic-team / ionic-team/ionic-cli

[feature request] build chain error handling

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

描述

_From @wzr1337 on June 28, 2016 21:49_

I just had an issue with code that did not compile because I wanted to assign a number to a string. Typescript did not compile. This caused to browser code I was running to remain the same. Unfortunately, I did not notice the error in the shell, because it was hidden behind the editor.

I would strongly recommend to catch any build error, pipe it into a static page and refresh the app in the browser with just the error page. This way, developers will be immediately aware of errors, that prevent code from being actually build and refreshed in the browser. Angular.cli for examples does catch all kinds of errors and puts them on the error age they show instead of the app in case of any errors.

The errors to catch would be any kind of .ts and *.scss and so on.

Best regards

_Copied from original issue: driftyco/ionic#7105_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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