Skip to content

fix: add --verbose to tinymist to fix silent preview failure#135

Open
Daniel-42-z wants to merge 1 commit into
chomosuke:masterfrom
Daniel-42-z:master
Open

fix: add --verbose to tinymist to fix silent preview failure#135
Daniel-42-z wants to merge 1 commit into
chomosuke:masterfrom
Daniel-42-z:master

Conversation

@Daniel-42-z

Copy link
Copy Markdown

This pull request fixes an issue where the preview server fails to open the browser out of the box when used with tinymist >= 0.14.x.

  • Starting with 0.14.x, tinymist hides INFO logs by default.
  • Because typst-preview.nvim parses the terminal output for the INFO log Static file server listening on: to capture the preview URL, it currently hangs indefinitely and fails to call utils.visit().
  • This fix simply adds the --verbose flag to the tinymist preview invocation in factory.lua so the required logs are emitted again.

Tested locally with tinymist 0.14.21 and it successfully restores the automatic browser launch.

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.

1 participant