ionic-team / ionic-app-scripts

App Build Scripts for Ionic Projects
http://ionicframework.com/
MIT License
608 stars 304 forks source link

issue(errors): error handling stops working #1298

Open dylanvdmerwe opened 7 years ago

dylanvdmerwe commented 7 years ago

Short description of the problem:

Errors are not being handled correctly in latest app-scripts. Break the .ts of a starter app. Run ionic serve and you'll get the nice error page. Make a small change to the html or another file and save (while keeping the broken ts) and you'll see ionic serve now runs?

What behavior are you expecting?

Errors should always be caught and show the error page when not in prod mode.

Which @ionic/app-scripts version are you using? 3.0.1

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc) cli packages: (/Users/dylan/Desktop/Projects/CochranePlus/node_modules)

@ionic/cli-utils  : 1.15.0
ionic (Ionic CLI) : 3.15.0

global packages:

cordova (Cordova CLI) : 7.1.0

local packages:

@ionic/app-scripts : 3.0.1
Cordova Platforms  : ios 4.5.2
Ionic Framework    : ionic-angular 3.8.0

System:

ios-deploy : 1.9.2
ios-sim    : 6.1.2
Node       : v6.11.4
npm        : 4.6.1
OS         : macOS Sierra
Xcode      : Xcode 9.0.1 Build version 9A1004

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : legacy
dylanvdmerwe commented 6 years ago

This is still an issue in version 3.1.8 😢