Skip to content

Commit

Permalink
Merge pull request #508 from plusice/master
Browse files Browse the repository at this point in the history
chore(README): 使用新版pm2时用args配置出现找不到start模块错误
  • Loading branch information
Zack921 authored Sep 23, 2021
2 parents 8cc706c + 49a2d27 commit 9a86eaf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ TSW 2.0 是面对容器化和云原生设计的,所以没有内置 Cluster 相
"apps": [
{
"name": "app-name",
"script": "./node_modules/@tswjs/tsw/dist/cli.js",
"args": "built/index.js",
"script": "built/index.js",
"interpreter": "node",
"interpreter_args": "./node_modules/@tswjs/tsw/dist/cli.js",
// other options
}
]
Expand Down

0 comments on commit 9a86eaf

Please sign in to comment.