-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ng serve
should support the same command line arguments as ng build
#10304
Comments
I'm opened to supporting a subset of |
It looks like Or maybe the CLI is supposed to be smart enough and to rebuild both the library and the app when |
While this is fixed, is there another way to enable |
@cyrilletuzi to enable aot in |
@sylvaindumont Despite this, |
@cexbrayat the But @cyrilletuzi that's odd. I just tried it myself and |
@filipesilva How do you check if AOT is enabled or not? On my side, I used a syntax I know is not accepted in AOT mode (using a non exported reference with spread operator on a literal array). It effectively fail on prod build but not on serve. |
When I want to be 100% sure AOT is being used I got check the main bundle. If it mentions anything about |
@filipesilva Verified your way, and no mention of But are you sure it's working on your side? Something very strange is that It would confirm my suspicion that |
I think I know what you're doing differently from me. You have When you do If that still doesn't work please let me know with a repro I can follow. |
Can you precise where are the base options exactly in As a general issue, there is no more autocompletion in Thanks. |
I put it here: There's an issue for the current option discoverability problem in #10271. |
Thanks, it works. Bonus question: initial plans were to enable AOT by default for v5. It's still not ready for v6, or the idea has been dropped? |
The reasons we didn't enable it by default in v5 was the scalability of it. AOT compilation did not scale very well because templates were always recompiled. It was fine by default on small and medium projects, but not in large or very large ones. The idea hasn't been dropped though, and the compiler team is looking at some architectural solutions to this which look promising. Some of it might might come up during the 6.x lifecycle but would not be the default. |
Shouldn't locale options (like |
…ev-server This will allow people to override some flags from a base browser target, either from the command line or from their serve directly. The options chosen are kinda arbitrary. I simply looked at what made sense. Fix angular/angular-cli#10304
…ev-server This will allow people to override some flags from a base browser target, either from the command line or from their serve directly. The options chosen are kinda arbitrary. I simply looked at what made sense. Fix angular/angular-cli#10304
…ev-server This will allow people to override some flags from a base browser target, either from the command line or from their serve directly. The options chosen are kinda arbitrary. I simply looked at what made sense. Fix angular/angular-cli#10304
…ev-server This will allow people to override some flags from a base browser target, either from the command line or from their serve directly. The options chosen are kinda arbitrary. I simply looked at what made sense. Fix angular/angular-cli#10304
…ev-server This will allow people to override some flags from a base browser target, either from the command line or from their serve directly. The options chosen are kinda arbitrary. I simply looked at what made sense. Fix angular/angular-cli#10304
…ev-server This will allow people to override some flags from a base browser target, either from the command line or from their serve directly. The options chosen are kinda arbitrary. I simply looked at what made sense. Fix #10304
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.
The text was updated successfully, but these errors were encountered: