Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions lib/package/macos.ex
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ defmodule Desktop.Deployment.Package.MacOS do

[lifetime]
mode = reconnect
# Host-driven BEAM restart (replaces the heart watchdog). The native
# DesktopWebView host watches its child BEAM process and respawns it on
# any exit; `system.prepare_quit` from Elixir suppresses respawn during a
# user-initiated quit. The Erlang release does not need -heart here.
restart_beam = true
restart_max_attempts = 0
restart_backoff_ms = 500
"""

# Host binaries (e.g. DesktopWebView) look for <executable>.ini next to Resources.
Expand Down
Loading