electron / electron/forge

Disable electron restart on file changes

Open
#3,694 1 comment 0 reactions 0 assignees View on GitHub
plugin/vite
Dominant language
TypeScript
Stars
7.1k
Forks
641
Avg merge
3d 1h
Merged PRs (30d)
30

Description

### Pre-flight checklist

- [X] I have read the [contribution documentation](https://github.com/electron/forge/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project uses.
- [X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

### Problem description

I have a config file that is used (imported) in a component to render its content.
When the config changes also electron window is restarted.

### Proposed solution

In electron/electron-forge/vite settings, add the config file path to an option to ignore the restart of electron window

### Alternatives considered

NA

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.