From 70a15f2c79f25a9a39b3d434a1a8aecf5ff5bdfa Mon Sep 17 00:00:00 2001 From: younglei Date: Mon, 16 May 2022 21:35:57 +0800 Subject: [PATCH] chore: comments #129 --- scripts/watch.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/watch.mjs b/scripts/watch.mjs index bd237fc..e9ad855 100644 --- a/scripts/watch.mjs +++ b/scripts/watch.mjs @@ -43,8 +43,8 @@ function watchMain(server) { } electronProcess = spawn(electron, ['.'], { env }) - // https://github.com/electron-vite/electron-vite-vue/pull/129 electronProcess.on('exit', process.exit) + // https://github.com/electron-vite/electron-vite-vue/pull/129 electronProcess.stdout.on('data', (data) => { const str = data.toString().trim() str && console.log(str)