karma-runner / karma-webdriver-launcher

A plugin for Karma. Launch any browser with WebDriver.
MIT License
66 stars 40 forks source link

Fix: correct methods overriding #15

Closed j0tunn closed 9 years ago

j0tunn commented 10 years ago

Current implementation replaces ProcessLauncher._start method, but instead of replacing any method dealing with kill it just adds new listener for kill event which just calls callback. As a result:

To fix this we shouldn't add any new listener but override any methods called from ProcessLauncher's start/kill listeners:

j0tunn commented 10 years ago

@aparkinson take a look at this PR please

j0tunn commented 9 years ago

@mtscout6 thanks man. When we should expect new version?

mtscout6 commented 9 years ago

I'm still working on push rights to npm, as soon as that's in order I'll push out an update.

On Fri, Nov 14, 2014, 22:24 j0tunn notifications@github.com wrote:

@mtscout6 https://github.com/mtscout6 thanks man. When we should expect new version?

— Reply to this email directly or view it on GitHub https://github.com/karma-runner/karma-webdriver-launcher/pull/15#issuecomment-63161369 .

mtscout6 commented 9 years ago

Pushed with version 0.3.0