chore: remove SIGKILL handlers
they cause error in Linux as SIGKILL cannot be caught
This commit is contained in:
parent
722acf5986
commit
0f28bce7de
|
@ -95,7 +95,6 @@ async function watchSrc() {
|
||||||
process.on('SIGHUP', resolve);
|
process.on('SIGHUP', resolve);
|
||||||
process.on('SIGINT', resolve);
|
process.on('SIGINT', resolve);
|
||||||
process.on('SIGTERM', resolve);
|
process.on('SIGTERM', resolve);
|
||||||
process.on('SIGKILL', resolve);
|
|
||||||
process.on('uncaughtException', reject);
|
process.on('uncaughtException', reject);
|
||||||
process.on('exit', resolve);
|
process.on('exit', resolve);
|
||||||
}).finally(async () => {
|
}).finally(async () => {
|
||||||
|
|
|
@ -95,7 +95,6 @@ async function watchSrc() {
|
||||||
process.on('SIGHUP', resolve);
|
process.on('SIGHUP', resolve);
|
||||||
process.on('SIGINT', resolve);
|
process.on('SIGINT', resolve);
|
||||||
process.on('SIGTERM', resolve);
|
process.on('SIGTERM', resolve);
|
||||||
process.on('SIGKILL', resolve);
|
|
||||||
process.on('uncaughtException', reject);
|
process.on('uncaughtException', reject);
|
||||||
process.on('exit', resolve);
|
process.on('exit', resolve);
|
||||||
}).finally(async () => {
|
}).finally(async () => {
|
||||||
|
|
|
@ -95,7 +95,6 @@ async function watchSrc() {
|
||||||
process.on('SIGHUP', resolve);
|
process.on('SIGHUP', resolve);
|
||||||
process.on('SIGINT', resolve);
|
process.on('SIGINT', resolve);
|
||||||
process.on('SIGTERM', resolve);
|
process.on('SIGTERM', resolve);
|
||||||
process.on('SIGKILL', resolve);
|
|
||||||
process.on('uncaughtException', reject);
|
process.on('uncaughtException', reject);
|
||||||
process.on('exit', resolve);
|
process.on('exit', resolve);
|
||||||
}).finally(async () => {
|
}).finally(async () => {
|
||||||
|
|
Loading…
Reference in New Issue