oipage 1.5.0-alpha.2 → 1.5.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG +2 -0
- package/bin/run +4 -4
- package/nodejs/animation/index.js +1 -1
- package/nodejs/cmdlog/index.js +1 -1
- package/nodejs/disk/index.js +1 -1
- package/nodejs/format/index.js +1 -1
- package/nodejs/json/index.js +1 -1
- package/nodejs/logform/index.js +1 -1
- package/nodejs/reader/index.js +1 -1
- package/nodejs/throttle/index.js +1 -1
- package/package.json +1 -1
- package/web/XMLHttpRequest/index.js +1 -1
- package/web/animation/index.js +1 -1
- package/web/format/index.js +1 -1
- package/web/json/index.js +1 -1
- package/web/onReady/index.js +1 -1
- package/web/performChunk/index.js +1 -1
- package/web/reader/index.js +1 -1
- package/web/style/index.js +1 -1
- package/web/throttle/index.js +1 -1
package/CHANGELOG
CHANGED
package/bin/run
CHANGED
|
@@ -72,22 +72,22 @@ else if (process.argv[2] === "run") {
|
|
|
72
72
|
|
|
73
73
|
// 监听子线程的stdout
|
|
74
74
|
child.stdout.on('data', (data) => {
|
|
75
|
-
|
|
75
|
+
process.stdout.write(`${data}`);
|
|
76
76
|
});
|
|
77
77
|
|
|
78
78
|
// 监听子线程的stderr
|
|
79
79
|
child.stderr.on('data', (data) => {
|
|
80
|
-
|
|
80
|
+
process.stdout.write(`${data}`);
|
|
81
81
|
});
|
|
82
82
|
|
|
83
83
|
// 子线程结束处理
|
|
84
84
|
child.on('close', (code) => {
|
|
85
|
-
console.log(
|
|
85
|
+
console.log(`子线程${index + 1}结束,退出码 ${code}`);
|
|
86
86
|
});
|
|
87
87
|
|
|
88
88
|
// 子线程出错处理
|
|
89
89
|
child.on('error', (error) => {
|
|
90
|
-
console.error(
|
|
90
|
+
console.error(`子线程${index + 1}错误: ${error.message}`);
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
|
package/nodejs/cmdlog/index.js
CHANGED
package/nodejs/disk/index.js
CHANGED
package/nodejs/format/index.js
CHANGED
package/nodejs/json/index.js
CHANGED
package/nodejs/logform/index.js
CHANGED
package/nodejs/reader/index.js
CHANGED
package/nodejs/throttle/index.js
CHANGED
package/package.json
CHANGED
package/web/animation/index.js
CHANGED
package/web/format/index.js
CHANGED
package/web/json/index.js
CHANGED
package/web/onReady/index.js
CHANGED
package/web/reader/index.js
CHANGED
package/web/style/index.js
CHANGED
package/web/throttle/index.js
CHANGED