From 65bab44427ad4bc8720d63feffc61d176978edde Mon Sep 17 00:00:00 2001 From: Matthew Patrick Date: Mon, 15 Nov 2021 10:27:52 +0700 Subject: [PATCH] Run npm i automatically before running nodemon (when using npm run dev) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 770ae74..377fd91 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Web application for Nekoya ~", "main": "index.js", "scripts": { - "dev": "nodemon index.js", + "dev": "npm i && nodemon index.js", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Nekoya Dev",