Problem: auto-open fired on :Preview compile, which is a one-shot build. Users compiling to check for errors or rebuild with the viewer already open got an unexpected browser/viewer window. Solution: gate auto-open on not opts.oneshot so it only fires during toggle/watch mode, where opening the viewer on first compile is the intended behaviour. |
||
|---|---|---|
| .. | ||
| commands.lua | ||
| compiler.lua | ||
| diagnostic.lua | ||
| health.lua | ||
| init.lua | ||
| log.lua | ||
| presets.lua | ||
| reload.lua | ||