lervag/vim-latex — pull request #50 by 1uc (2014-08-18 18:27:17+00:00)
Title: Fix simplistic `if pid` tests

Add a new function s:latexmk_check_pid(pid) to check whether the given
PID is still alive and is owned by a latexmk process.

This allows
let g:latex_latexmk_options = '-pvc-'
i.e. compile only when explicitely called.