Skip to content

Commit

Permalink
Ignore logs for PM2 restart strategy (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 authored Jan 31, 2024
1 parent e146818 commit 6e5d080
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ecosystem.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"autorestart": true,
// Auto restart on config change
"watch": ["/config"],
// Ignore specific folders
"ignore_watch": ["logs", "/config/logs"],
"watch_delay": 1000,
"exec_mode": "fork",
"instances": 1,
Expand Down

0 comments on commit 6e5d080

Please sign in to comment.