From f517b48ad4d316278e360cf48f1c42d8110d2441 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 12 Jun 2023 16:24:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=94=9F=E4=BA=A7=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 +-- pm2.config.js | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3c7ce37..54fdc79 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "dev": "pm2 restart pm2.config.js --only dev --attach", - "pro": "pm2 start pm2.config.js --only oms-node", + "pro": "pm2 restart pm2.config.js --only oms-node", "deploy": "pm2 deploy pm2.config.js production", "stop": "pm2 delete all" }, @@ -30,7 +30,6 @@ "fs-extra": "^10.0.1", "helmet": "^5.0.2", "mysql": "^2.18.1", - "sql": "^0.78.0", "uuid": "^8.3.2" }, "devDependencies": { diff --git a/pm2.config.js b/pm2.config.js index 32daad8..4e3b6f3 100644 --- a/pm2.config.js +++ b/pm2.config.js @@ -10,6 +10,7 @@ module.exports = { { name: 'oms-node', script: "index.js", + watch: false } ], deploy: {