From 7b01c04086c8c689f0b40680464be69c3335f8f1 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 13 Mar 2024 18:01:42 +0100 Subject: Hot reload modules without restarting the server. NOTE: Does not update the list of dependencies when reloading, so adding or removing require() calls in the rules will not be accurately watched. In these cases touching the rules.js file may be necessary to trigger a reload. --- package.json | 1 + 1 file changed, 1 insertion(+) (limited to 'package.json') diff --git a/package.json b/package.json index aa1885a..8a50d86 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "dependencies": { "better-sqlite3": "^9.4.1", "bufferutil": "^4.0.8", + "chokidar": "^3.6.0", "dotenv": "^16.4.4", "express": "^4.18.2", "nodemailer": "^6.9.9", -- cgit v1.2.3