Skip to content

Keep track of prepared plugins and avoid unnecessary cleans. #2194

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

Merged
merged 1 commit into from
Nov 7, 2016

Conversation

hdeshev
Copy link
Contributor

@hdeshev hdeshev commented Nov 4, 2016

The new dependency analysis algorithm always passes all plugins and we need to keep track of prepared ones, so that we don't clean and prepare everything unnecessary (most painful on Android).

Related to #2110, #2152

Ping @Plamen5kov

assert.deepEqual({}, pluginPrepare.preparedDependencies);
});

it("skips prepare if every plugin prepared", () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this test is same as the one above

@Plamen5kov
Copy link
Contributor

👍 after deleting unnecessary test

@hdeshev hdeshev force-pushed the hdeshev/plugin-clean branch 2 times, most recently from aa3fe6d to 44d115e Compare November 7, 2016 12:12
@hdeshev hdeshev merged commit cef0c15 into master Nov 7, 2016
@hdeshev hdeshev deleted the hdeshev/plugin-clean branch November 7, 2016 12:22
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.

2 participants