Skip to content

Commit

Permalink
fix(chore): don't stop stream
Browse files Browse the repository at this point in the history
fix #4
  • Loading branch information
vogloblinsky committed Jul 8, 2017
1 parent d12b3cc commit bc6820c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ function compodoc(options) {
app.setFiles(files);
app.generate();

process.on('exit', function() {
stream.emit('end');
});

return;
}
});
Expand Down

0 comments on commit bc6820c

Please sign in to comment.