Skip to content

Commit

Permalink
Fix exit error messages (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald authored Dec 22, 2023
1 parent 496c91b commit 0696be5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ function resolveLaravelPlugin(pluginConfig: Required<PluginConfig>): LaravelPlug
}

process.on('exit', clean)
process.on('SIGINT', process.exit)
process.on('SIGTERM', process.exit)
process.on('SIGHUP', process.exit)
process.on('SIGINT', () => process.exit())
process.on('SIGTERM', () => process.exit())
process.on('SIGHUP', () => process.exit())

exitHandlersBound = true
}
Expand Down

0 comments on commit 0696be5

Please sign in to comment.