Skip to content
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

Update dependency vite-plugin-electron to v0.29.0 #177

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 16, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite-plugin-electron 0.28.8 -> 0.29.0 age adoption passing confidence

Release Notes

electron-vite/vite-plugin-electron (vite-plugin-electron)

v0.29.0

Compare Source

  • 638d0f3 feat: support main process control hot-reload
  • c58fbf9 feat: mock index.html for support use the main process only

Hot Reload

Since v0.29.0, when preload scripts are rebuilt, they will send an electron-vite&type=hot-reload event to the main process.
If your App doesn't need a renderer process, this will give you hot-reload.

// electron/main.ts

process.on('message', (msg) => {
  if (msg === 'electron-vite&type=hot-reload') {
    for (const win of BrowserWindow.getAllWindows()) {
      // Hot reload preload scripts
      win.webContents.reload()
    }
  }
})

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@ptrdom ptrdom enabled auto-merge (squash) November 16, 2024 18:00
@renovate renovate bot force-pushed the renovate/vite-plugin-electron-0.x branch from c9fd3c3 to c6234b1 Compare November 16, 2024 18:00
@ptrdom ptrdom merged commit 9f61ee8 into main Nov 16, 2024
2 checks passed
@renovate renovate bot deleted the renovate/vite-plugin-electron-0.x branch November 16, 2024 18:17
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.

1 participant