Skip to content

Option to disable window re-focus when go app reloads #1495

Description

@sidwebworks

Is your feature request related to a problem? Please describe.

The default behaviour of Wails is when your backend (Go) side code changes, the app reloads so it closes, reopens and focuses itself again in the desktop view.

The is not a plesant experience if using the browser for primarily developing the app and don't want it to pop up again and again during development changes.

Describe the solution you'd like

It would be nice if we could add an option inside the wails.config by the name of something like

focusWindowOnReload: false

depending on this we can change the behaviour.

Describe alternatives you've considered

Some yoga can help to deal with the frustration during development reloads. 😄

Additional context

After talking to @leaanthony on slack I got to know that this was indeed the default behaviour previously but lost in time lol.

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions