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

fix: disable webpack rebuilds on karma --single-run #259

Merged
merged 1 commit into from
Dec 15, 2017

Conversation

mattlewis92
Copy link
Contributor

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior? (You can also link to an open issue here)
When running a long test suite as a single run, if you make changes to any of the files during the run, webpack will start recompiling

What is the new behavior?
Webpack is only run in watch mode when running karma is not running with the --single-run flag

Does this PR introduce a breaking change?

  • Yes
  • No

If this PR contains a breaking change, please describe the following...

N/A

Other information:

Copy link
Collaborator

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

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

Can we add test for this to avoid regressions?

@mattlewis92
Copy link
Contributor Author

There aren't any actual tests in this repo beyond the basic integration one. The next weekend I have free I can sit down and write some in a follow up PR 😄

Copy link
Collaborator

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

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

Good, let's add tests in future 👍

@joshwiens joshwiens force-pushed the mattlewis92-disable-watch-on-single-run branch from d867585 to 7f0c33c Compare October 5, 2017 06:52
@michael-ciniawsky michael-ciniawsky added this to the 2.0.4 milestone Oct 5, 2017
@michael-ciniawsky michael-ciniawsky changed the title fix: disable webpack rebuilds on karma single run fix: disable webpack rebuilds on karma --single-run Oct 5, 2017
@sukrosono
Copy link

merge? travis red. Almost 1 month after approved.

@mattlewis92 mattlewis92 force-pushed the mattlewis92-disable-watch-on-single-run branch from 527cfdc to a8cff06 Compare December 15, 2017 09:38
@mattlewis92 mattlewis92 force-pushed the mattlewis92-disable-watch-on-single-run branch from a8cff06 to 2074f60 Compare December 15, 2017 10:41
@mattlewis92 mattlewis92 merged commit 41d1912 into master Dec 15, 2017
@mattlewis92 mattlewis92 deleted the mattlewis92-disable-watch-on-single-run branch December 15, 2017 10:46
@michael-ciniawsky michael-ciniawsky removed this from the 2.0.10 milestone Dec 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants