question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Auto-refresh Not Working for R-markdown Preview.

See original GitHub issue

Describe the bug File update is not detected on save. It won’t refresh preview.

To Reproduce Steps to reproduce the behavior:

  1. Open an rmd file
  2. Start preview
  3. Edit file
  4. See preview not changing
  5. Toggle auto-refresh button. Still not refreshing until press refresh button

Do you want to fix by self? (We hope your help!)

Sorry, but no. I don’t have such ability to solve it.

Expected behavior Preview auto refresh on file save.

Screenshots image

Environment (please complete the following information):

  • OS: Ubuntu 20.04 on WSL2
  • VSCode Version: (copied from vs code about) Version: 1.60.1 (user setup) Commit: 83bd43bc519d15e50c4272c6cf5c1479df196a4d Date: 2021-09-10T17:07:10.714Z Electron: 13.1.8 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.19043
  • R Version: 3.6.3 (2020-02-29) Platform: x86_64-pc-linux-gnu (64-bit)
  • vscode-R version: v2.2.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ElianHughcommented, Sep 20, 2021

Hi! I haven’t been able to replicate this on the dev release or the marketplace release. Are there any errors in the console when you open developer tools? You can access this via Ctrl + Shift + P -> Developer: Toggle Developer Tools.


For testing:

---
title: "Title"
subtitle: "Subtitle"
author: "Author"
date: "`r format(Sys.time(), '%Y-%m-%d')`"
---

# Sec 1

Some Texts.

Some Updates:

```
123456
```

0reactions
github-actions[bot]commented, Nov 14, 2022

This issue was closed because it has been inactive for 14 days since being marked as stale.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Markdown preview does not always refresh #13280 - GitHub
Pressing Shift-Cmd-V same thing; (Both text and preview tabs still open); Right-click on README.md in Explorer pane and choose Open Preview ...
Read more >
Is it possible to have an auto-refresh while editing a markdown ...
mdp is a console viewer for Markdown files and I find it is a very helpful tool. Is it though anyhow possible to...
Read more >
VSCode: disabling markdown preview auto-refresh?
I would like to know a setting for VSCode to keep A.md in the preview tab and not auto-refresh. Spent some time searching...
Read more >
Automatically refresh previewed markdown to see changes ...
Problem to solve. Currently, Markdown gets processed and rendered only when the Preview Markdown tab is clicked in the Web IDE.
Read more >
Markdown Support | PyCharm Documentation - JetBrains
Show problems in code fences. Click OK to apply the changes. Run commands from Markdown files.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found