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. --- nodemon.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 nodemon.json (limited to 'nodemon.json') diff --git a/nodemon.json b/nodemon.json new file mode 100644 index 0000000..3f2e7ed --- /dev/null +++ b/nodemon.json @@ -0,0 +1,10 @@ +{ + "delay": 2000, + "ext": "js,pug", + "ignore": [ + ".git", + "node_modules", + "public", + "tools" + ] +} -- cgit v1.2.3