Skip to content

chore: Support auto restart electron when main processor related code changes #8707

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

cwangsmv
Copy link
Contributor

@cwangsmv cwangsmv commented May 13, 2025

Changes:

  • Modify esbuild script to restart electron automatically when preload/main/hiddenWindow scripted changed
  • Add a new dev:autoRestart script to start app with both front-end live-reload and main processor auto-restart
  • Close the inspector when app quits to unblock electron app exit in development mode

@cwangsmv cwangsmv requested review from jackkav and gatzjames May 13, 2025 07:40
@cwangsmv cwangsmv force-pushed the spike/auto-reload-main-in-dev branch from 4f0addc to 0ed78d4 Compare May 14, 2025 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants