Skip to content

Initial builds of ng2 apps are slow #436

@tjvantoll

Description

@tjvantoll

Hey all,

While trying out the 2.0 release I noticed that the build time of my ng2 apps had gone up significantly—from ~1 minute to ~2–3 minutes.

More specifically, the build seems to hang at the Babel step:

:asbg:runAstParser
inputDir: /Users/tj/dev/nativescript/sample-Groceries/platforms/android/src/main/assets/app
outFile: ../bindings.txt
Building 40% > :asbg:runAstParser

It hung on that step for about a full minute, so I had actually assumed the build was stuck and was going to fail. As a small step I’d love to see some additional output while the Babel step runs—just so users don’t think something has went wrong—and as a bigger step it’d be great if we could find a way to speed up this build step, especially for ng2 apps.

Thanks!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions