mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-31 20:16:36 +08:00
chore: comments #129
This commit is contained in:
parent
be8b8a07bc
commit
70a15f2c79
@ -43,8 +43,8 @@ function watchMain(server) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
electronProcess = spawn(electron, ['.'], { env })
|
electronProcess = spawn(electron, ['.'], { env })
|
||||||
// https://github.com/electron-vite/electron-vite-vue/pull/129
|
|
||||||
electronProcess.on('exit', process.exit)
|
electronProcess.on('exit', process.exit)
|
||||||
|
// https://github.com/electron-vite/electron-vite-vue/pull/129
|
||||||
electronProcess.stdout.on('data', (data) => {
|
electronProcess.stdout.on('data', (data) => {
|
||||||
const str = data.toString().trim()
|
const str = data.toString().trim()
|
||||||
str && console.log(str)
|
str && console.log(str)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user