diff --git a/lib/angular-app.js b/lib/angular-app.js index edc99f2..2513d9a 100644 --- a/lib/angular-app.js +++ b/lib/angular-app.js @@ -367,6 +367,11 @@ AngularApp.prototype.runTests = function (appScriptsTree, addonsScriptsTree, ven if (this.isServing) { karmaConfig.browsers = []; + + process.on('SIGINT', function () { + console.warn('User initiated exit...'); + process.exit(); + }); } unitTestingResults = unitTest(mergeTrees([vendorScriptsTree, addonsScriptsTree, appScriptsTree, tests, lintingResults], { diff --git a/package.json b/package.json index 8f3adf6..f4e06e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-bro-app", - "version": "0.11.1", + "version": "0.11.2", "description": "Angular broccoli plugin and compilation routine", "main": "lib/angular-app.js", "scripts": {