From bc6820c9052391da1f1cca58bde507e48f4747ab Mon Sep 17 00:00:00 2001 From: Vincent Ogloblinsky Date: Sat, 8 Jul 2017 05:11:09 +0200 Subject: [PATCH] fix(chore): don't stop stream fix #4 --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index 3500630..e5cc8ef 100644 --- a/index.js +++ b/index.js @@ -29,6 +29,10 @@ function compodoc(options) { app.setFiles(files); app.generate(); + process.on('exit', function() { + stream.emit('end'); + }); + return; } });