Skip to content
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

Build takes very long time after seed upgrade #699

Closed
Toktik opened this issue Mar 30, 2016 · 1 comment
Closed

Build takes very long time after seed upgrade #699

Toktik opened this issue Mar 30, 2016 · 1 comment

Comments

@Toktik
Copy link

Toktik commented Mar 30, 2016

After upgrading angular2-seed for my project, I get very slow npm install and builds.

[06:36:46] Requiring external module ts-node/register
[06:37:23] Loading tasks folder C:\project\client\tools\tasks\seed

It takes around 40 seconds between those steps if you look at the time diff.

It fixes when I downgrade ts-node dependency from 0.7.1 to 0.5.5.

I don't see anything suspicious in my setup.
Either it is ts-node itself or the way we use it. Any idea?

@Toktik Toktik changed the title Loading seed tasks takes very long after seed upgrade Build takes very long time after seed upgrade Mar 30, 2016
@mgechev
Copy link
Owner

mgechev commented Mar 30, 2016

It could be ts-node. At this point we don't want to give up static typing so there is nothing much that we can do.

Here's proposal for ts-node 1.0 which will bring a lot of performance improvements TypeStrong/ts-node#44.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants