mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 15:06:15 -04:00
fix automatic restart on error
This commit is contained in:
parent
b691af71c0
commit
b242a5fd01
1 changed files with 1 additions and 0 deletions
1
index.js
1
index.js
|
@ -1,4 +1,5 @@
|
||||||
var process = require('process')
|
var process = require('process')
|
||||||
|
var {spawn} = require('child_process')
|
||||||
var net = require('net')
|
var net = require('net')
|
||||||
// Handle SIGINT
|
// Handle SIGINT
|
||||||
process.on('SIGINT', () => {
|
process.on('SIGINT', () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue