Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Commit

Permalink
1.修复了pm2下因日志问题引发的无限重启
Browse files Browse the repository at this point in the history
  • Loading branch information
CaoMeiYouRen committed Jul 16, 2019
1 parent 7414fd6 commit 897ff8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ if (app.CQ.getDebug()) {
## 目前已知bug
1. [待修复]在使用pm2 start index.js --watch 运行时,会出现程序无限重启的问题(已查明是日志的问题,写入日志导致触发pm2重启)
- 解决办法:去掉--watch参数,不监视文件编号即可
1. [已解决]在使用pm2 start index.js --watch 运行时,会出现程序无限重启的问题(已查明是日志的问题,写入日志导致触发pm2重启)
- 解决办法:pm2 start index.js --watch -i 1 --ignore-watch="\*.log" -n cq-app 配置参数 --ignore-watch="\*.log"忽略日志文件的变化即可
## 项目依赖
Expand Down

0 comments on commit 897ff8e

Please sign in to comment.