From ab640518a3ccb728f2b2837080b1ccc2d39e9e19 Mon Sep 17 00:00:00 2001 From: Santiago Gonzalez Toral Date: Thu, 16 Feb 2023 12:15:14 -0500 Subject: [PATCH] Update package.json enable server hot reloading in dev mode --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8e3b3f9..4df13c3 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "rebuild": "npm run clean && npm run build", "clean": "lb-clean dist *.tsbuildinfo .eslintcache", "start": "npm run rebuild && node dist/server", - "server": "node dist/server", + "server": "nodemon dist/server", "client": "node dist/client" }, "repository": { @@ -56,6 +56,7 @@ "@loopback/eslint-config": "^13.0.8", "@loopback/testlab": "^5.0.8", "@types/node": "^18.11.15", + "nodemon": "^2.0.20", "typescript": "~4.9.5" }, "copyright.owner": "Abridged, Inc.",