Browse Source

更新 'package.json'

改发布问题
wangyong 5 years ago
parent
commit
3c5e0632e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -9,7 +9,7 @@
     "build": "nuxt build",
     "build": "nuxt build",
     "start": "cross-env NODE_ENV=production node server/index.js",
     "start": "cross-env NODE_ENV=production node server/index.js",
     "generate": "nuxt generate",
     "generate": "nuxt generate",
-    "pm2": "pm2 start npm"
+    "pm2": "pm2 restart npm"
   },
   },
   "dependencies": {
   "dependencies": {
     "@nuxtjs/axios": "^5.0.0",
     "@nuxtjs/axios": "^5.0.0",