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

Cache sass graph and make build faster #22

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Cache sass graph and make build faster #22

wants to merge 3 commits into from

Conversation

ZanderZhan
Copy link

Operation System: macOS Mojave 10.14.2
Node Version: v7.10.1

In my project ,there is 410 scss file and it costs about 15 seconds when I modify a single file. There is too long for develop, but after cache sass-graph, it costs only about 1.5 seconds. So I think it's better to pull a request to improve build performance.

sass

before:
before

after:
after

@berstend
Copy link
Owner

@ZanderZhan thanks a lot for the PR 👍

I noticed the tests are failing, could you adjust them so they pass? :-)
This also ensures that the new caching works as expected.

Thanks!

@ZanderZhan
Copy link
Author

@berstend just adjusted and now all checks have passed

@luckyraul
Copy link

@berstend merge?

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

Successfully merging this pull request may close these issues.

3 participants