Problem: when `open` is a custom command like `sioyek --instance-name`, the process exits immediately after delegating to the running instance. The exit callback reset `viewer_open`, causing every recompile to reopen the viewer and toggle to reopen instead of stopping. Solution: stop clearing `viewer_open` in the `do_open` exit callback. The flag now persists for the watch session and is only reset by `stop_watching`. |
||
|---|---|---|
| .. | ||
| preview | ||