Markdown file not refreshing in DV 4.0beta2 after editing in BBEdit

Hi folks, this is a beta bug report not request for help.

I created a markdown file in DV; opened in BBEdit and did some writing, saved and closed in BBEdit.

The display in DV did not update to include the new text. When I opened it again in BBEdit, the text was there, but it did not refresh in DV.

I navigated away in DV and returned; still not updated.

It was eventually fixed by quitting DV and relaunching. Since then, it behaved as expected so not easily reproducible. The file is intact, there was just a glitch with the view updating.

Sequoia 15.4.1.

Cheers,

J

You say you created the document in DEVONthink. That would make it an imported document by default unless you created it in an indexed group. Is that the case?

Did you try File > Update Items / Update Indexed Items ? Usually DEVONthink is pretty fast to register external changes, but otherwise that always solves it for me. I’m not using the beta though.

Works OK for me. I tried to replicate your experience as closely as I could following your description. I’m on DTP 4b2 and running Bbedit 15.1.2 (Apple Silicon). Sequoia 15.5.

I had exactly the same problem with Typora - once. Again, restarting DT4 solved it.

(forgive slow response, difficult week). I created the file in DV then opened it in BBEdit.

I don’t use indexed files, it’s never gone smoothly for me;) So it definitely wasn’t indexed, there are no indexed groups in the database.

EDIT: the database is on an external disk (thunderbolt 3)

No worries! We all have more than enough to do.

How did you open the document in BBEdit?

I see similar behavior in beta3 when editing files externally in Visual Studio Code.

  • I also have my database on an external drive
  • If I create a new markdown document and file>open with externally, it refreshes on its own rather quickly or switching between files will refresh it.
  • If I file>open with a markdown file (same group) that existed before the 4 betas, it requires me to do File > Update Items to get it to refresh in the display. Nothing else other than restarting will get it to update the display. These markdown files were created in DT and are not in an external indexed folder.

Showing the file in the finder shows proper modified times, and the changes are definitely there on disk. File > Update Items is almost instant in refreshing the problem files.

Not sure if you have compared newly created files vs older @ophiochos

Is the file indexed? Just because you create it in DEVONthink it doesn’t necessarily mean it’s imported.
If you create the document in an indexed location, it will be move to the indexed folder in the Finder.

I don’t have any indexed locations, I only import when adding outside files and for markdown pretty much just create within the app. Single database. One of my new test files that works fine was placed in the same subdirectory in the database as an older file that had refresh issues (Files.noindex/md/c/).

I’m frequently experiencing this with Typora with markdown documents created in DT and later opened in Typora for editing. Up until now I’ve been closing the database and reopening or restarting DT to get the DT document updated. However, thanks to @troejgaard for the suggestion to use File > Update Items. I didn’t know about this option, but it works and is much easier.

2 Likes