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

Temporarily remove Grunt's uncaughtException listeners. #103

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

Commits on Jul 1, 2014

  1. Temporarily remove uncaughtException listeners.

    Remove these listeners while Karma is running, so that Karma gets a
    chance to stop the browsers it started, in case a framework raises
    an error or the user presses Ctrl-C.
    
    fixes karma-runner#93
    jpommerening committed Jul 1, 2014
    Configuration menu
    Copy the full SHA
    3513659 View commit details
    Browse the repository at this point in the history
  2. Listen for SIGINT and stop the process.

    Karma listens for SIGINT and disconnects all servers if interrupted.
    As a side-effect, interrupting the current process causes Karma to stop
    but nothing else. Any pending Grunt tasks will still run.
    
    Since Grunt does not listen to SIGINT itself, the expected behaviour
    is that the process exits with code 130. We simulate this by listening
    for SIGINT and calling process.exit() when Karma finished.
    jpommerening committed Jul 1, 2014
    Configuration menu
    Copy the full SHA
    6ecdd69 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2014

  1. Configuration menu
    Copy the full SHA
    ab31a15 View commit details
    Browse the repository at this point in the history