Skip to content

Commit bc6820c

Browse files
committed
fix(chore): don't stop stream
fix #4
1 parent d12b3cc commit bc6820c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ function compodoc(options) {
2929
app.setFiles(files);
3030
app.generate();
3131

32+
process.on('exit', function() {
33+
stream.emit('end');
34+
});
35+
3236
return;
3337
}
3438
});

0 commit comments

Comments
 (0)