From 17a263ae62c9f4df3524aa752adea5d35326b585 Mon Sep 17 00:00:00 2001 From: MarcUs7 <96580944+MarcUs7i@users.noreply.github.com> Date: Thu, 2 Jan 2025 21:35:42 +0100 Subject: [PATCH] Added net package --- watcher.js | 1 + 1 file changed, 1 insertion(+) diff --git a/watcher.js b/watcher.js index 50538c4..3d637f4 100644 --- a/watcher.js +++ b/watcher.js @@ -1,4 +1,5 @@ import {promises as fs, watchFile} from 'fs'; +import net from 'net'; let config = (await import('./config.js')).default; watchFile('./config.js', async ()=>{ // Dynamically reload config and watch it for changes.