@lvce-editor/ipc 8.2.0 → 8.2.1

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -872,6 +872,13 @@ const create$2 = async ({
872
872
  serviceName: name,
873
873
  env
874
874
  });
875
+ const handleExit = () => {
876
+ // @ts-ignore
877
+ childProcess.stdout.unpipe(process.stdout);
878
+ // @ts-ignore
879
+ childProcess.stderr.unpipe(process.stderr);
880
+ };
881
+ childProcess.once('exit', handleExit);
875
882
  // @ts-ignore
876
883
  childProcess.stdout.pipe(process.stdout);
877
884
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/ipc",
3
- "version": "8.2.0",
3
+ "version": "8.2.1",
4
4
  "description": "Inter Process Communication for Lvce Editor",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",