You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on May 1, 2020. It is now read-only.
@rathgeber2, you can pass the --dev option to skip AoT which will speed things up. We are working with Angular on getting an incremental AoT build in place. Google internally has sub-second AoT builds so some members of the Angular team are going to be working on better tooling to make this possible for the broader community. Fingers crossed that is happens soon!
Google internally has sub-second AoT builds so some members of the Angular team are going to be working on better tooling to make this possible for the broader community.
Wow! that incremental sub-second AoT builds is a must! Excited to have this!
Questions:
Should we always do AoT when deploying to device?
Yes, I think it's a good idea to default to that. The difference between an AoT compiled app and a normal one is huge on older devices which can make testing really painful.
Our current process is to test with AoT (I mean clicking around and using features) and when we find a bug we simply fix it in the browser environment and verify that fix when a few other bug was fixed as well. This approach is a way more faster for us than reloading the app all the time.
No, ngc does not support incremental builds and there is no timeline for that. Production builds are going to be slow for awhile so the best bet is to just use development builds as much as possible.
Activity
PhilippRath commentedon Nov 3, 2016
Is AoT always necessary on debug / dev build, if we had a switch, this would be nice.
i mean you will definitely have the ability to test it, but for faster development, i would like to skip this compiling stuff.
is this related to the issue with the 0.39 app-script Version issue that emulate builds are always Production
danbucholtz commentedon Nov 3, 2016
@rathgeber2, you can pass the
--devoption to skip AoT which will speed things up. We are working with Angular on getting an incremental AoT build in place. Google internally has sub-second AoT builds so some members of the Angular team are going to be working on better tooling to make this possible for the broader community. Fingers crossed that is happens soon!Thanks,
Dan
NoNameProvided commentedon Nov 26, 2016
Wow! that incremental sub-second AoT builds is a must! Excited to have this!
Yes, I think it's a good idea to default to that. The difference between an AoT compiled app and a normal one is huge on older devices which can make testing really painful.
Our current process is to test with AoT (I mean clicking around and using features) and when we find a bug we simply fix it in the browser environment and verify that fix when a few other bug was fixed as well. This approach is a way more faster for us than reloading the app all the time.
danbucholtz commentedon Jan 28, 2017
This is resolved.
Thanks,
Dan
NoNameProvided commentedon Jan 28, 2017
Does app-scripts supports incremental builds now?
danbucholtz commentedon Jan 29, 2017
No,
ngcdoes not support incremental builds and there is no timeline for that. Production builds are going to be slow for awhile so the best bet is to just use development builds as much as possible.Thanks,
Dan