Skip to content

Commit

Permalink
chore: fix pm2 script ignore rollup.config
Browse files Browse the repository at this point in the history
  • Loading branch information
pdsuwwz committed Jul 2, 2021
1 parent 6dfdd2d commit 5e607e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ecosystem.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
apps: [
{
name,
script: path.resolve(__dirname, './dist/src/main.js'),
script: path.resolve(__dirname, './dist/main.js'),
instances: require('os').cpus().length,
autorestart: true,
watch: true,
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
]
},
},
"exclude": ["node_modules"]
"exclude": [
"node_modules",
"rollup.config.ts"
]
// "include": ["ormconfig.json"]
}

0 comments on commit 5e607e9

Please sign in to comment.