Skip to content

Commit

Permalink
chore: changed pm2 default exec mode to fork
Browse files Browse the repository at this point in the history
Fixes #2523
  • Loading branch information
brecke committed Dec 15, 2021
1 parent 5eb84b0 commit 8064dd9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions process.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"script": "app.js",
"watch": ["packages", "config.js", "app.js"],
"instances": 1,
"exec_mode": "cluster",
"exec_mode": "fork",
"ignore_watch": ["node_modules", "test", ".git", "files", "*.log", "tmp"]
},
{
Expand All @@ -15,7 +15,7 @@
"watch": ["*.js"],
"args": "--restart-delay=3000",
"instances": 1,
"exec_mode": "cluster",
"exec_mode": "fork",
"ignore_watch": ["node_modules", ".git", "static", "*.log"]
},
{
Expand All @@ -25,7 +25,7 @@
"watch": ["*.js"],
"args": "--restart-delay=3000",
"instances": 1,
"exec_mode": "cluster",
"exec_mode": "fork",
"ignore_watch": ["node_modules", ".git", "*.log"]
}
]
Expand Down

0 comments on commit 8064dd9

Please sign in to comment.