Closed cawa-93 closed 3 years ago
Yes, in original electron-vue, once the app close, all the dev servers are closed. Personally, I feel neutral this behavior, but I guess more people think the dev server should be quit after app closed. I'm glad to receive that patch 😄 .
I faced a strange problem. If you run the
npm run dev
command and then close the electron window yourself, the build process does not stop and you have to kill it withCTRL+C
.In my experience, this is expected behavior.
I did a little research and it looks like the rollup watcher keeps watching the changes in the
main
files.I'm not sure if this is a planned behavior. Just in case, this patch fixed the problem for me. Although I'm not sure if this is the best solution.