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

Add an option to force the relaunch of the app #5

Closed
wants to merge 1 commit into from

Conversation

PhoneixS
Copy link

Fixes #4

@@ -65,6 +65,12 @@ Watch files used in the renderer process and reload the window when they change.

Setting this to `false` can be useful if you use a different reload strategy in the rendererer process, like [`HMR`](https://webpack.js.org/concepts/hot-module-replacement/).

##### forceRelaunch
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes it sound like it's force-relaunching instead of what you mean, which is forcing it to relaunch. I think naming it alwaysRelaunch would be clearer.

Type: `boolean`<br>
Default: `false`

Allways relaunch the app even when the changes don't need it.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Allways relaunch the app even when the changes don't need it.
Always relaunch the app even when the changes don't need it.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also include the use-case for this option. It's not clear to a user encountering this option what they would use it for.

@sindresorhus
Copy link
Owner

Ping

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.

Add option to force relaunch always
2 participants