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

Add esbonio.sphinx.buildTriggers config option #940

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

alcarney
Copy link
Member

@alcarney alcarney commented Jan 6, 2025

This option controls when the language server rebuilds the project. The server's default configuration is equivalent to setting

      {
        "esbonio.sphinx.buildTriggers": {
          "onSave": true,
          "onChange": 2.0, // seconds
        }
      }

where it will rebuild each time a file is saved, or each time a file is changed - with a 2 second delay. Setting onChange to false will disable it entirely.

Closes #935

@alcarney alcarney merged commit 5753e57 into swyddfa:develop Jan 6, 2025
14 checks passed
@alcarney alcarney deleted the build-triggers branch January 6, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Only refresh the preview when file is saved
1 participant