From f342194d37ffa34a4f6b0e3b42dbaad0ba792c09 Mon Sep 17 00:00:00 2001 From: Brandon Keepers Date: Thu, 9 Aug 2018 12:24:51 -0400 Subject: [PATCH] Watch .env with nodemon --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 12e9c71..ae23510 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "license": "ISC", "repository": "https://github.com/{{ owner }}/{{ repo }}.git", "scripts": { - "dev": "nodemon --exec \"npm start\"", + "dev": "nodemon", "start": "probot run ./index.js", "lint": "standard --fix", "test": "jest && standard", @@ -28,5 +28,9 @@ "env": [ "jest" ] + }, + "nodemonConfig": { + "exec": "npm start", + "watch": [".env", "."] } }