diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-03-13 18:01:42 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-03-13 18:01:42 +0100 |
commit | 7b01c04086c8c689f0b40680464be69c3335f8f1 (patch) | |
tree | 6b0c7a46996672e099230ddc6c60b3e741ff0f84 /package.json | |
parent | a1e140a126a2a2121bb56230e87e00bb92cbd9a5 (diff) | |
download | server-7b01c04086c8c689f0b40680464be69c3335f8f1.tar.gz |
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.
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 1 |
1 files changed, 1 insertions, 0 deletions
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", |