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

wrapped the clean function inside a 'compile' event listener (fixes #25) #26

Merged
merged 2 commits into from
Oct 9, 2016
Merged

Conversation

tylerhou
Copy link
Contributor

Fixes issue #25. I would write a test, I'm not sure how to write a test for the --watch parameter.

@coveralls
Copy link

Coverage Status

Coverage decreased (-69.2%) to 25.51% when pulling e9149f5 on tylerhou:master into 9e78f40 on johnagan:master.

4 similar comments
@coveralls
Copy link

Coverage Status

Coverage decreased (-69.2%) to 25.51% when pulling e9149f5 on tylerhou:master into 9e78f40 on johnagan:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-69.2%) to 25.51% when pulling e9149f5 on tylerhou:master into 9e78f40 on johnagan:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-69.2%) to 25.51% when pulling e9149f5 on tylerhou:master into 9e78f40 on johnagan:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-69.2%) to 25.51% when pulling e9149f5 on tylerhou:master into 9e78f40 on johnagan:master.

@tylerhou
Copy link
Contributor Author

Okay, I just realized that this breaks every test there is because it changes the mechanism by which the plugin functions. The tests call the apply method, but instead this adds a listener to the "compile" event.

Tests should be rewritten with webpack-recompilation-simulator, which should be able to simulate the "compile" event.

@coveralls
Copy link

coveralls commented Aug 16, 2016

Coverage Status

Coverage decreased (-62.7%) to 32.0% when pulling 80ee9d3 on tylerhou:master into 9e78f40 on johnagan:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-62.7%) to 32.0% when pulling 80ee9d3 on tylerhou:master into 9e78f40 on johnagan:master.

@coveralls
Copy link

coveralls commented Aug 16, 2016

Coverage Status

Coverage decreased (-1.7%) to 93.0% when pulling 28f400c on tylerhou:master into 9e78f40 on johnagan:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-1.7%) to 93.0% when pulling 28f400c on tylerhou:master into 9e78f40 on johnagan:master.

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.

None yet

3 participants