chihab/dotenv-run

Angular Errors are swallowed with esbuild on the console.

DerAlbertCom opened this issue · 2 comments

Take the following component.

import {ChangeDetectionStrategy, Component} from '@angular/core';

@Component({
  selector: 'app-root',
  template: `<router-outlet /> {{ blah }}`,
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class AppComponent {
  blah ='';
}

run ng serve, everything is fine.

Now change blah in the template to bla, save. No Error in the CLI Console.

With the original dev-server builder from Angular, the errors shows up.

chihab commented

Fixed in latest update.
Could you please give it a try?

Works! Thank you.