Skip to content

Commit 0b19cf4

Browse files
committed
chore: update log message
1 parent 853523a commit 0b19cf4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

framework-ts/yadan/lib/cluster.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ process.on('message', (msg: ClusterMsg) => {
2626
const { action, data, from, to } = msg
2727
// let titleNew = data.title ? data.title : data.baseDir
2828

29-
console.info('::message:', process.pid, process.ppid, msg)
29+
// process.ppid need node.js v8.10
30+
// console.info('::message:', process.pid, process.ppid, msg)
31+
console.info('::message:', process.pid, msg)
3032
console.info('::window title:' + process.title)
3133
if (action === 'egg-ready') {
3234
if (to === 'app' && from === 'master') {

0 commit comments

Comments
 (0)