atom/markdown-preview

Markdown preview does not update images when the image is changed externally.

JamesABaker opened this issue · 1 comments

Prerequisites

Description

A trivial issue where images are not updated until the text link is changed.

Steps to Reproduce

  1. Open markdown with an image file linked
  2. Invoke markdown preview
  3. Change the image file content externally without changing the link in markdown

Expected behavior:

In the preview, the image refreshes to the new image when a file is changed.
Writing new markdown may trigger a refresh as the text updates.
Hiding and showing the preview might update the image.

Actual behavior:

The image does not update until atom is restarted.

Screenshot 2019-05-22 at 14 15 24

Additional info
Possibly related to atom/atom#18430
Possibly related to the cache being hard to clear #207.

Reproduces how often:
100%

Versions

OS: Mac OS 10.14.4 (18E226)
Atom : 1.37.0
Electron: 2.0.18
Chrome : 61.0.3163.100
Node : 8.9.3

apm 2.1.3
npm 6.2.0
node 8.9.3 x64
atom 1.36.1
python 2.7.16
git 2.21.0

rsese commented

Thanks for the report!

Possibly related to atom/atom#18430
Possibly related to the cache being hard to clear #207.

Thanks for finding those 👍 I think this sounds very much like #207 and as described below, we close issues as duplicates even if they're not exact duplicates. If #207 is resolved and you're still seeing this behavior, we can always reopen.


Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.

For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.