Skip to content

Commit

Permalink
fix: append some files to pm2 'ignore_watch` fix loop reset
Browse files Browse the repository at this point in the history
  • Loading branch information
SolidZORO committed Jun 16, 2020
1 parent 7c35661 commit 2d52bad
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions packages/leaa-api/ecosystem.config.js.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ module.exports = {
script: './index.js',
watch: true,
ignore_watch: [
'pm2',
'node_modules',
'logs',
'*~',
'.DS_Store',
'.git',
'.vscode',
'.idea',
'.cache',
'.dist',
'.docker',
'.DS_Store',
'*~',
'node_modules',
'pm2',
'logs',
'public',
'src/assets',
],
env_production: { NODE_ENV: 'production' },
autorestart: true,
Expand Down

0 comments on commit 2d52bad

Please sign in to comment.