From 410c60e32485990b577735eccddb8a5c2d06fdf3 Mon Sep 17 00:00:00 2001 From: Adam Sullovey Date: Wed, 26 Jul 2017 18:17:28 -0400 Subject: [PATCH] only restart node process when a js file changes (#28) this way the bot won't restart when a .json file is written to --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 534ce7c..6d572d8 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Slackbot to encourage drawing.", "main": "src/index.js", "scripts": { - "start": "nodemon src/index.js", + "start": "nodemon -e js src/index.js", "precommit": "lint-staged", "add-contributor": "all-contributors add", "generate": "all-contributors generate"