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

Importing many files stalls indefinetly on large project #159

Closed
MikaAK opened this issue Sep 11, 2015 · 2 comments
Closed

Importing many files stalls indefinetly on large project #159

MikaAK opened this issue Sep 11, 2015 · 2 comments

Comments

@MikaAK
Copy link

MikaAK commented Sep 11, 2015

At work, we have a very large project which I'm converting our old project into webpack format. At a certain point though a number of sass files hang the build process and it never completes.

I've managed to find the exact import 'whatever.scss' that causes the build to stop. Commenting it out will allow the build to complete (albeit very slow) but when commented in it freezes. I've increased the UV_THREADPOOL_SIZE to 800 but it doesn't seem to work. I remember having this issue which was part of #62 or #100.

Each file has an import statement at the top to import variables @import '~shared/styles/utility';
Is this due to the imports? If so how can I get this to work without stalling!

@MikaAK
Copy link
Author

MikaAK commented Sep 11, 2015

Removing the UV_THREADPOOL_SIZE solved this. I'm not entirely sure why

@MikaAK MikaAK closed this as completed Sep 11, 2015
@Moghul
Copy link

Moghul commented Jul 26, 2018

You just saved 2 days of work, 2 years later.

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