Skip to content

Commit 9a86eaf

Browse files
authored
Merge pull request #508 from plusice/master
chore(README): 使用新版pm2时用args配置出现找不到start模块错误
2 parents 8cc706c + 49a2d27 commit 9a86eaf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,9 @@ TSW 2.0 是面对容器化和云原生设计的,所以没有内置 Cluster 相
139139
"apps": [
140140
{
141141
"name": "app-name",
142-
"script": "./node_modules/@tswjs/tsw/dist/cli.js",
143-
"args": "built/index.js",
142+
"script": "built/index.js",
143+
"interpreter": "node",
144+
"interpreter_args": "./node_modules/@tswjs/tsw/dist/cli.js",
144145
// other options
145146
}
146147
]

0 commit comments

Comments
 (0)