From 77c1a16cf2ec2fe5371d65ccfed0ff3b11cc2c6d Mon Sep 17 00:00:00 2001 From: Peeter Normak Date: Wed, 10 Jul 2019 22:41:18 +0300 Subject: [PATCH] added nodemon to help development --- package.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8b63c257..446ef4a2 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "main": "camera.js", "bin": "camera.js", "scripts": { + "dev": "nodemon --inspect camera.js", "test": "node camera.js test", "start": "chmod +x INSTALL/start.sh && INSTALL/start.sh" }, @@ -63,5 +64,10 @@ "socket.io-client": "^2.2.0", "webdav-fs": "^1.11.0" }, - "devDependencies": {} + "devDependencies": { + "nodemon": "^1.19.1" + }, + "nodemonConfig": { + "ignore": ["plugins/*"] + } }