preview.nvim/lua
Barrett Ruth 1456b3070a
fix(compiler): add fs_stat check to one-shot open path
Problem: the long-running process path already guarded opens with
vim.uv.fs_stat(), but the one-shot compile path and M.open() did not.
Compilation can exit 0 and produce no output, and output files can be
externally deleted between compile and open.

Solution: add the same fs_stat guard to the one-shot open branch and
to M.open() before attempting to launch the viewer.
2026-03-04 13:49:50 -05:00
..
preview fix(compiler): add fs_stat check to one-shot open path 2026-03-04 13:49:50 -05:00