instant-markdown / vim-instant-markdown

Instant Markdown previews from Vim
https://instant-markdown.github.io
Other
2.73k stars 253 forks source link

:InstantMarkdownPreview fail to pops up the preview page after reopen markdown file #188

Closed hitzhangjie closed 3 years ago

hitzhangjie commented 3 years ago

Problem summary

I open markdown in vim and preview by :InstantMarkdownPreview, browser pops up and show the prview successfully. After this, I closed markdown document, and reopen it, and press :InstantMarkdownPreview again. The browser doesn't pops up the preview page any more.

But after I kill instant-markdown-d by pkill -f instant-markdown-d, and rerun :InstantMarkdownPreview, it works as expected.

Expected

Pops up the preview page when press :InstantMarkdownPreview all the time.

Environment Information

Steps to reproduce the issue (required)

  1. open markdown file a.md
  2. enter :InstantMarkdownPreview to preview
  3. close the preview page (browser tab)
  4. reopen markdown file a.md
  5. enter :InstantMarkdownPreview to preview
  6. expect show the preview page again, but not.
hitzhangjie commented 3 years ago

I don't know if this problem is relevant with the version of node.

After I downgrade node from v14 to v12, this problem is solved.