Added net package

This commit is contained in:
MarcUs7 2025-01-02 21:35:42 +01:00
parent 334708a0fd
commit 17a263ae62

View file

@ -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.