Skip to content

Commit

Permalink
Force process.exit at end of build
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron O'Mullan committed Dec 9, 2014
1 parent 66bb46d commit 92523fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ var makeBuildFunc = function(converter) {

// Exit process with failure code
process.exit(-1);
})
.then(function() {
// Prevent badly behaving plugins
// from making the process hang
process.exit(0);
});
};
};
Expand Down

0 comments on commit 92523fb

Please sign in to comment.