Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
fix(docz-core): set max listener
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Dec 4, 2018
1 parent 0028635 commit 898010b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/docz-core/src/commands/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export const dev = async (args: Config) => {
process.exit(1)
}

process.setMaxListeners(9999)
const signals: any = ['SIGINT', 'SIGTERM']
for (const sig of signals) {
process.on(sig, async () => {
Expand Down

0 comments on commit 898010b

Please sign in to comment.