Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Don't do timeout in pvc mode after inactivity #2804

Closed
wants to merge 1 commit into from

Commits on Oct 4, 2023

  1. fix: Don't do timeout in pvc mode after inactivity

    By default the `-pvc` mode will stop working after 30 mins of inactivity,
    where vimtex compiler and the latexmk process can fall into an
    inconsistent state (i.e., no longer able to build the latex project
    while vimtex still thinks the continuous mode is still running).
    
    To prevent this, we disable inactivity timeout in the pvc mode.
    Requires latexmk v4.55 (Jan 2018) or higher.
    
    From https://texdoc.org/serve/latexmk/0
    
    ```
    -pvctimeout
        Do timeout in pvc mode after period of inactivity, which is 30 min.
        by default. Inactivity means a period when latexmk has detected no
        file changes and hence has not taken any actions like compiling the
        document.
    
    -pvctimeout-
        Don’t do timeout in pvc mode after inactivity.
    ```
    wookayin committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    fb2d07c View commit details
    Browse the repository at this point in the history