We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e69b86 commit 752c3f1Copy full SHA for 752c3f1
2 files changed
package.json
@@ -7,6 +7,7 @@
7
"license": "MIT",
8
"scripts": {
9
"start": "node server/main.js",
10
+ "start:clean": "npm ci && node server/main.js",
11
"serve": "nodemon server/main.js"
12
},
13
"dependencies": {
pm2.config.js
@@ -1,6 +1,7 @@
1
module.exports = {
2
name: "server",
3
- script: "./server/main.js",
+ script: "npm",
4
+ args: "start:clean",
5
env_production: {
6
NODE_ENV: "production"
0 commit comments