diff options
author | Aaron O'Mullan <aaron.omullan@friendco.de> | 2014-12-09 17:31:23 +0100 |
---|---|---|
committer | Aaron O'Mullan <aaron.omullan@friendco.de> | 2014-12-09 17:31:23 +0100 |
commit | 92523fb4b54ddfcdf9586f8a2140fdc8b1d0793b (patch) | |
tree | f13efa413c41bd62e373bb0406b3f053ce9c026a /bin | |
parent | 66bb46df223168bbf499744666b40c9575121790 (diff) | |
download | gitbook-92523fb4b54ddfcdf9586f8a2140fdc8b1d0793b.zip gitbook-92523fb4b54ddfcdf9586f8a2140fdc8b1d0793b.tar.gz gitbook-92523fb4b54ddfcdf9586f8a2140fdc8b1d0793b.tar.bz2 |
Force process.exit at end of build
Diffstat (limited to 'bin')
-rw-r--r-- | bin/build.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/build.js b/bin/build.js index 965a211..4f8b74e 100644 --- a/bin/build.js +++ b/bin/build.js @@ -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); }); }; }; |