From b242a5fd01d3e66cacebfcc033d6ef72c1fb3e67 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Fri, 30 Dec 2022 17:31:52 +0100 Subject: [PATCH] fix automatic restart on error --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 84955fb..f197c66 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,5 @@ var process = require('process') +var {spawn} = require('child_process') var net = require('net') // Handle SIGINT process.on('SIGINT', () => {