-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ x] feature request
Versions.
@angular/cli: 1.2.3
node: 6.11.0
os: linux x64
@angular/animations: 4.3.1
@angular/cdk: 2.0.0-beta.8
@angular/common: 4.3.1
@angular/compiler: 4.3.1
@angular/core: 4.3.1
@angular/forms: 4.3.1
@angular/http: 4.3.1
@angular/material: 2.0.0-beta.8
@angular/platform-browser: 4.3.1
@angular/platform-browser-dynamic: 4.3.1
@angular/router: 4.3.1
@angular/cli: 1.2.3
@angular/compiler-cli: 4.3.1
@angular/language-service: 4.3.1
Repro steps.
ng serve // will compile without --aot
ng build // will compile with aot
The log given by the failure.
Desired functionality.
ng serve // will be ng serve --aot
This can seems silly but is not, because when you are working with differents modules, you have two options for fast compilation process:
- Has the module imported directly from you app and compile with it
- Has multiple applications and create a gulp ( or something, to get the correct order to compile )
The second option is time consuming.
The first option has these big problems which some people, has since 2016.